Module: Fluke::Delays
Instance Method Summary collapse
Instance Method Details
#days ⇒ Object
15 16 17 |
# File 'lib/fluke/monkey_patch.rb', line 15 def days self.hours*24 end |
#hours ⇒ Object
11 12 13 |
# File 'lib/fluke/monkey_patch.rb', line 11 def hours self.minutes*60 end |
#minutes ⇒ Object
7 8 9 |
# File 'lib/fluke/monkey_patch.rb', line 7 def minutes self.seconds*60 end |
#months ⇒ Object
23 24 25 |
# File 'lib/fluke/monkey_patch.rb', line 23 def months self.weeks*4 end |
#seconds ⇒ Object
3 4 5 |
# File 'lib/fluke/monkey_patch.rb', line 3 def seconds self*1000 end |
#weeks ⇒ Object
19 20 21 |
# File 'lib/fluke/monkey_patch.rb', line 19 def weeks self.days*7 end |