Class: BEL::Script::Term
- Inherits:
-
Struct
- Object
- Struct
- BEL::Script::Term
- Defined in:
- lib/bel/parse_objects.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#fx ⇒ Object
Returns the value of attribute fx.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
67 68 69 |
# File 'lib/bel/parse_objects.rb', line 67 def args @args end |
#fx ⇒ Object
Returns the value of attribute fx
67 68 69 |
# File 'lib/bel/parse_objects.rb', line 67 def fx @fx end |
Instance Method Details
#<<(item) ⇒ Object
68 69 70 |
# File 'lib/bel/parse_objects.rb', line 68 def <<(item) self.args << item end |
#to_s ⇒ Object
71 72 73 |
# File 'lib/bel/parse_objects.rb', line 71 def to_s "#{self.fx}(#{[args].flatten.join(',')})" end |