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
66 67 68 |
# File 'lib/bel/parse_objects.rb', line 66 def args @args end |
#fx ⇒ Object
Returns the value of attribute fx
66 67 68 |
# File 'lib/bel/parse_objects.rb', line 66 def fx @fx end |
Instance Method Details
#<<(item) ⇒ Object
67 68 69 |
# File 'lib/bel/parse_objects.rb', line 67 def <<(item) self.args << item end |
#to_s ⇒ Object
70 71 72 |
# File 'lib/bel/parse_objects.rb', line 70 def to_s "#{self.fx}(#{[args].flatten.join(',')})" end |