Class: BEL::Script::Comment
- Inherits:
-
Struct
- Object
- Struct
- BEL::Script::Comment
- Defined in:
- lib/bel/parse_objects.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
11 12 13 |
# File 'lib/bel/parse_objects.rb', line 11 def text @text end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/bel/parse_objects.rb', line 12 def to_s %Q{##{self.text}} end |