Sha256: 1239e99d44141c9f3c2f882150b534d2933f061a594cb9d182d27b7d490c8630

Contents?: true

Size: 112 Bytes

Versions: 9

Compression:

Stored size: 112 Bytes

Contents

require "affirm"
require "byebug"
require "json"

def to_seconds(datetime)
  Time.parse(datetime.to_s).to_i
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
affirm-ruby-1.2.0 spec/helper.rb
affirm-ruby-1.1.3 spec/helper.rb
affirm-ruby-1.1.2 spec/helper.rb
affirm-ruby-1.1.1 spec/helper.rb
affirm-ruby-1.1.0 spec/helper.rb
affirm-ruby-1.0.2 spec/helper.rb
affirm-ruby-1.0.1 spec/helper.rb
affirm-ruby-1.0.0 spec/helper.rb
affirm-ruby-0.0.1 spec/helper.rb