Class: Glaemscribe::API::IfTree::PrePostProcessorOperatorsTerm

Inherits:
Term
  • Object
show all
Defined in:
lib/api/if_tree.rb

Instance Attribute Summary collapse

Attributes inherited from Term

#parent_code_block

Instance Method Summary collapse

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

#operatorsObject

Returns the value of attribute operators.



93
94
95
# File 'lib/api/if_tree.rb', line 93

def operators
  @operators
end

Instance Method Details

#inspectObject



101
102
103
# File 'lib/api/if_tree.rb', line 101

def inspect
  "#{prefix} OPERATORS (#{@operators.count})"
end

#is_pre_post_processor_operators?Boolean

Returns:

  • (Boolean)


98
99
100
# File 'lib/api/if_tree.rb', line 98

def is_pre_post_processor_operators?
  true
end