Class: Minute
- Defined in:
- lib/days_and_times/duration.rb
Instance Attribute Summary
Attributes inherited from Duration
Instance Method Summary collapse
-
#initialize(start_time = nil) ⇒ Minute
constructor
A new instance of Minute.
Methods inherited from Minutes
Methods inherited from Duration
#*, #+, #-, #/, #===, #abs_length, #abs_length=, #ago, #anchored?, #before, #coerce, #collect, #create_find_within_method_for, create_find_within_method_for, #days, #each, #each_day, #each_hour, #each_minute, #each_second, #each_week, #end_time, #end_time=, #ending, #from, #from_now, #hours, #in_days, #in_hours, #in_minutes, #in_seconds, #in_weeks, #inspect, length, #method_missing, #minutes, new, #seconds, #starting, #to_a, #to_f, #to_i, #to_s, #weeks
Constructor Details
#initialize(start_time = nil) ⇒ Minute
Returns a new instance of Minute.
357 358 359 |
# File 'lib/days_and_times/duration.rb', line 357 def initialize(start_time=nil) super(1,start_time) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Duration