Class: Kwartz::HandlerArgument

Inherits:
Object
  • Object
show all
Includes:
StatementHelper
Defined in:
lib/kwartz/converter.rb

Overview

argument data for handler

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from StatementHelper

#add_foreach_stmts, #add_native_code, #add_native_expr_with_default, #build_print_args, #build_print_expr_stmt, #build_print_stmt, #create_text_print_stmt, #etag_stmt, #stag_stmt, #wrap_content_with_native_stmt, #wrap_element_with_native_stmt

Constructor Details

#initialize(directive_name, directive_arg, directive_str, stag_info, etag_info, cont_stmts, attr_info, append_exprs) ⇒ HandlerArgument

Returns a new instance of HandlerArgument.



552
553
554
555
556
557
558
559
560
561
562
# File 'lib/kwartz/converter.rb', line 552

def initialize(directive_name, directive_arg, directive_str,
               stag_info, etag_info, cont_stmts, attr_info, append_exprs)
  @directive_name = directive_name
  @directive_arg  = directive_arg
  @directive_str  = directive_str
  @stag_info      = stag_info
  @etag_info      = etag_info
  @cont_stmts     = cont_stmts
  @attr_info      = attr_info
  @append_exprs   = append_exprs
end

Instance Attribute Details

#append_exprsObject (readonly)

Returns the value of attribute append_exprs.



566
567
568
# File 'lib/kwartz/converter.rb', line 566

def append_exprs
  @append_exprs
end

#attr_infoObject (readonly)

Returns the value of attribute attr_info.



566
567
568
# File 'lib/kwartz/converter.rb', line 566

def attr_info
  @attr_info
end

#cont_stmtsObject (readonly)

Returns the value of attribute cont_stmts.



566
567
568
# File 'lib/kwartz/converter.rb', line 566

def cont_stmts
  @cont_stmts
end

#directive_argObject (readonly)

Returns the value of attribute directive_arg.



565
566
567
# File 'lib/kwartz/converter.rb', line 565

def directive_arg
  @directive_arg
end

#directive_nameObject (readonly)

Returns the value of attribute directive_name.



565
566
567
# File 'lib/kwartz/converter.rb', line 565

def directive_name
  @directive_name
end

#directive_strObject (readonly)

Returns the value of attribute directive_str.



565
566
567
# File 'lib/kwartz/converter.rb', line 565

def directive_str
  @directive_str
end

#etag_infoObject (readonly)

Returns the value of attribute etag_info.



566
567
568
# File 'lib/kwartz/converter.rb', line 566

def etag_info
  @etag_info
end

#stag_infoObject (readonly)

Returns the value of attribute stag_info.



566
567
568
# File 'lib/kwartz/converter.rb', line 566

def stag_info
  @stag_info
end