Class: SecondsCalculator
- Inherits:
-
String
- Object
- String
- SecondsCalculator
- Defined in:
- lib/puma/clocker/seconds_calculator.rb
Overview
Also accepts any argument processable by Time#parse
Class Method Summary collapse
Class Method Details
.run(time_string) ⇒ Object
10 11 12 |
# File 'lib/puma/clocker/seconds_calculator.rb', line 10 def run(time_string) puts(new(time_string)) if time_string end |