class Natour::Species
Attributes
name[R]
name_de[R]
Public Class Methods
new(name, name_de)
click to toggle source
# File lib/natour/species.rb, line 6 def initialize(name, name_de) @name = name @name_de = name_de end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/natour/species.rb, line 13 def <=>(other) [@name, @name_de] <=> [other.name, other.name_de] end
hash()
click to toggle source
# File lib/natour/species.rb, line 18 def hash [@name, @name_de].hash end