class Labtime::CLI
Public Instance Methods
convert_decimal(decimal, year)
click to toggle source
# File lib/labtime.rb, line 18 def convert_decimal(decimal, year) puts Labtime.from_decimal(decimal.to_f,year.to_i).to_time.to_s end
hello(name)
click to toggle source
# File lib/labtime.rb, line 9 def hello(name) if name == "Heisenberg" puts "you are goddman right" else puts "say my name" end end