Method: Arrow::Template::Directive#initialize

Defined in:
lib/arrow/template/nodes.rb

#initialize(type, parser, state) ⇒ Directive

Initialize a new Directive with the given type (the directive name), parser (Arrow::Template::Parser), and state (Arrow::Template::Parser::State object).



280
281
282
283
# File 'lib/arrow/template/nodes.rb', line 280

def initialize( type, parser, state )
  super( type )
  self.parse_directive_contents( parser, state )
end