Module: TravianBot::Application::Time

Included in:
Hero
Defined in:
lib/travian_bot/application/time.rb

Instance Method Summary collapse

Instance Method Details

#to_seconds(input) ⇒ Object



6
7
8
# File 'lib/travian_bot/application/time.rb', line 6

def to_seconds(input)
  ChronicDuration.parse(input)
end