Class: BEL::Script::Comment

Inherits:
Struct
  • Object
show all
Defined in:
lib/bel/parse_objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#textObject

Returns the value of attribute text

Returns:

  • the current value of text



11
12
13
# File 'lib/bel/parse_objects.rb', line 11

def text
  @text
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/bel/parse_objects.rb', line 12

def to_s
  %Q{##{self.text}}
end