Class: BEL::Language::Comment
- Inherits:
-
Struct
- Object
- Struct
- BEL::Language::Comment
- Defined in:
- lib/bel/language.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
- #to_bel ⇒ Object (also: #to_s)
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
14 15 16 |
# File 'lib/bel/language.rb', line 14 def text @text end |
Instance Method Details
#to_bel ⇒ Object Also known as: to_s
15 16 17 |
# File 'lib/bel/language.rb', line 15 def to_bel %Q{##{self.text}} end |