Class: TimeOverlap::CLI
- Inherits:
-
Thor
- Object
- Thor
- TimeOverlap::CLI
- Defined in:
- lib/time_overlap/cli.rb
Instance Method Summary collapse
Instance Method Details
#count(from, to, time_zone, my_time_zone, min_overlap) ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/time_overlap/cli.rb', line 14 def count(from, to, time_zone, my_time_zone, min_overlap) TimeOverlap.count( from: from.to_i, to: to.to_i, time_zone: time_zone, my_time_zone: my_time_zone, min_overlap: min_overlap.to_i ) end |