class Docks::Tags::Base

Public: The base tag from which bundled and custom tags can inherit.

Attributes

name[R]

Public Instance Methods

multiline?() click to toggle source
# File lib/docks/tags/base_tag.rb, line 14
def multiline?
  @multiline = true if @multiline.nil?
  @multiline
end
multiple_allowed?() click to toggle source
# File lib/docks/tags/base_tag.rb, line 19
def multiple_allowed?
  @multiple_allowed = false if @multiple_allowed.nil?
  @multiple_allowed
end
parseable?() click to toggle source
# File lib/docks/tags/base_tag.rb, line 28
def parseable?
  @parseable = true if @parseable.nil?
  @parseable
end
process(symbol) click to toggle source
# File lib/docks/tags/base_tag.rb, line 37
def process(symbol); symbol end
setup_post_processors() click to toggle source
# File lib/docks/tags/base_tag.rb, line 39
def setup_post_processors; end
synonyms() click to toggle source
# File lib/docks/tags/base_tag.rb, line 33
def synonyms
  @synonyms ||= []
end
type() click to toggle source
# File lib/docks/tags/base_tag.rb, line 24
def type
  @type ||= Docks::Types::Tags::ONE_PER_BLOCK
end

Protected Instance Methods

after_all(hook = nil, &block) click to toggle source
# File lib/docks/tags/base_tag.rb, line 47
def after_all(hook = nil, &block)
  Process.register_pattern_library_processor(hook, &block)
end
after_each_pattern(hook = nil, &block) click to toggle source
# File lib/docks/tags/base_tag.rb, line 43
def after_each_pattern(hook = nil, &block)
  Process.register_pattern_processor(hook, &block)
end