Class: BEL::Language::UnsetAnnotation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



108
109
110
# File 'lib/bel/language.rb', line 108

def name
  @name
end

Instance Method Details

#to_belObject Also known as: to_s



109
110
111
# File 'lib/bel/language.rb', line 109

def to_bel
  %Q{UNSET #{self.name}}
end