Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/duration/time.rb

Instance Method Summary collapse

Instance Method Details

#to_durationObject Also known as: duration



2
3
4
# File 'lib/duration/time.rb', line 2

def to_duration
  Duration.new(self)
end