module BELParser::Resource::Value
Public Instance Methods
<=>(another_value)
click to toggle source
# File lib/bel_parser/resource/value.rb, line 30 def <=>(another_value) name <=> another_value.name end
==(another_value)
click to toggle source
# File lib/bel_parser/resource/value.rb, line 38 def ==(another_value) return false if another_value == nil dataset == another_value.dataset && name == another_value.name && encodings == another_value.encodings end
dataset()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 6 def dataset raise NotImplementedError, "#{__method__} is not implemented." end
encodings()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 26 def encodings raise NotImplementedError, "#{__method__} is not implemented." end
hash()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 34 def hash [dataset, name, encodings].hash end
identifier()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 14 def identifier nil end
name()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 10 def name raise NotImplementedError, "#{__method__} is not implemented." end
synonyms()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 22 def synonyms [] end
title()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 18 def title nil end
to_s()
click to toggle source
# File lib/bel_parser/resource/value.rb, line 46 def to_s name end