class NumeritajTipo::EnumBase
Public Class Methods
build(other)
click to toggle source
# File lib/numeritaj_tipo/enum_base.rb, line 4 def build(other) values.find {|value| value == other.to_sym } end
# File lib/numeritaj_tipo/enum_base.rb, line 4 def build(other) values.find {|value| value == other.to_sym } end