Sha256: ad39d4c4f556c564ff4866eac131840ff62b815de2ba17c70694635c106b665d

Contents?: true

Size: 173 Bytes

Versions: 3

Compression:

Stored size: 173 Bytes

Contents

require 'chronic_duration'

class TravianBot
  class Application
    module Time
      def to_seconds(input)
        ChronicDuration.parse(input)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
travian_bot-0.3.0 lib/travian_bot/application/time.rb
travian_bot-0.2.4 lib/travian_bot/application/time.rb
travian_bot-0.2.3 lib/travian_bot/application/time.rb