Class: BEL::Script::StatementGroup
- Inherits:
-
Struct
- Object
- Struct
- BEL::Script::StatementGroup
- Defined in:
- lib/bel/parse_objects.rb
Instance Attribute Summary collapse
-
#annotations ⇒ Object
Returns the value of attribute annotations.
-
#name ⇒ Object
Returns the value of attribute name.
-
#statements ⇒ Object
Returns the value of attribute statements.
Instance Method Summary collapse
Instance Attribute Details
#annotations ⇒ Object
Returns the value of attribute annotations
96 97 98 |
# File 'lib/bel/parse_objects.rb', line 96 def annotations @annotations end |
#name ⇒ Object
Returns the value of attribute name
96 97 98 |
# File 'lib/bel/parse_objects.rb', line 96 def name @name end |
#statements ⇒ Object
Returns the value of attribute statements
96 97 98 |
# File 'lib/bel/parse_objects.rb', line 96 def statements @statements end |
Instance Method Details
#to_s ⇒ Object
97 98 99 100 101 102 103 |
# File 'lib/bel/parse_objects.rb', line 97 def to_s name = self.name if NonWordMatcher.match name name = %Q{"#{name}"} end %Q{SET STATEMENT_GROUP = #{name}} end |