Class: Numeric

Inherits:
Object
  • Object
show all
Defined in:
lib/time/bbtime.rb,
lib/string/roman.rb

Instance Method Summary collapse

Instance Method Details

#to_duration(input: :sec, stop: :mili, style: :medium) ⇒ Object



81
82
83
# File 'lib/time/bbtime.rb', line 81

def to_duration input: :sec, stop: :mili, style: :medium
  BBLib.to_duration self, input: input, stop: stop, style: style
end

#to_romanObject



49
50
51
# File 'lib/string/roman.rb', line 49

def to_roman
  BBLib.to_roman self.to_i
end