Class: BEL::Script::NamespaceDefinition
- Inherits:
-
Struct
- Object
- Struct
- BEL::Script::NamespaceDefinition
- Defined in:
- lib/bel/parse_objects.rb
Instance Attribute Summary collapse
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#prefix ⇒ Object
Returns the value of attribute prefix
38 39 40 |
# File 'lib/bel/parse_objects.rb', line 38 def prefix @prefix end |
#value ⇒ Object
Returns the value of attribute value
38 39 40 |
# File 'lib/bel/parse_objects.rb', line 38 def value @value end |
Instance Method Details
#to_s ⇒ Object
39 40 41 |
# File 'lib/bel/parse_objects.rb', line 39 def to_s %Q{DEFINE NAMESPACE #{self.prefix} AS URL "#{self.value}"} end |