Class: Glaemscribe::API::IfTree::MacroDeployTerm
- Defined in:
- lib/api/if_tree.rb
Instance Attribute Summary collapse
-
#arg_value_expressions ⇒ Object
Returns the value of attribute arg_value_expressions.
-
#line ⇒ Object
Returns the value of attribute line.
-
#macro ⇒ Object
Returns the value of attribute macro.
Attributes inherited from Term
Instance Method Summary collapse
-
#initialize(macro, line, parent_code_block, arg_value_expressions) ⇒ MacroDeployTerm
constructor
A new instance of MacroDeployTerm.
- #inspect ⇒ Object
- #is_macro_deploy? ⇒ Boolean
Methods inherited from Term
#is_code_lines?, #is_pre_post_processor_operators?, #offset, #prefix
Constructor Details
#initialize(macro, line, parent_code_block, arg_value_expressions) ⇒ MacroDeployTerm
Returns a new instance of MacroDeployTerm.
122 123 124 125 126 127 |
# File 'lib/api/if_tree.rb', line 122 def initialize(macro, line, parent_code_block, arg_value_expressions) super(parent_code_block) @line = line @macro = macro @arg_value_expressions = arg_value_expressions end |
Instance Attribute Details
#arg_value_expressions ⇒ Object
Returns the value of attribute arg_value_expressions.
121 122 123 |
# File 'lib/api/if_tree.rb', line 121 def arg_value_expressions @arg_value_expressions end |
#line ⇒ Object
Returns the value of attribute line.
121 122 123 |
# File 'lib/api/if_tree.rb', line 121 def line @line end |
#macro ⇒ Object
Returns the value of attribute macro.
121 122 123 |
# File 'lib/api/if_tree.rb', line 121 def macro @macro end |
Instance Method Details
#inspect ⇒ Object
131 132 133 |
# File 'lib/api/if_tree.rb', line 131 def inspect "#{prefix} MACRO DEPLOY (#{macro.name})" end |
#is_macro_deploy? ⇒ Boolean
128 129 130 |
# File 'lib/api/if_tree.rb', line 128 def is_macro_deploy? true end |