Class: Glaemscribe::API::IfTree::PrePostProcessorOperatorsTerm
- Defined in:
- lib/api/if_tree.rb
Instance Attribute Summary collapse
-
#operators ⇒ Object
Returns the value of attribute operators.
Attributes inherited from Term
Instance Method Summary collapse
-
#initialize(parent_code_block) ⇒ PrePostProcessorOperatorsTerm
constructor
A new instance of PrePostProcessorOperatorsTerm.
- #inspect ⇒ Object
- #is_pre_post_processor_operators? ⇒ Boolean
Methods inherited from Term
#is_code_lines?, #is_macro_deploy?, #offset, #prefix
Constructor Details
#initialize(parent_code_block) ⇒ PrePostProcessorOperatorsTerm
Returns a new instance of PrePostProcessorOperatorsTerm.
94 95 96 97 |
# File 'lib/api/if_tree.rb', line 94 def initialize(parent_code_block) super(parent_code_block) @operators = [] end |
Instance Attribute Details
#operators ⇒ Object
Returns the value of attribute operators.
93 94 95 |
# File 'lib/api/if_tree.rb', line 93 def operators @operators end |
Instance Method Details
#inspect ⇒ Object
101 102 103 |
# File 'lib/api/if_tree.rb', line 101 def inspect "#{prefix} OPERATORS (#{@operators.count})" end |
#is_pre_post_processor_operators? ⇒ Boolean
98 99 100 |
# File 'lib/api/if_tree.rb', line 98 def is_pre_post_processor_operators? true end |