Sha256: 683b94a354a891275b6fd5a1280360265de9039994c05e717853857293cc41f1

Contents?: true

Size: 115 Bytes

Versions: 43

Compression:

Stored size: 115 Bytes

Contents

DateTime.class_eval do
  unless instance_methods.include?(:to_i)
    def to_i
      to_time.to_i
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
active_remote-2.4.0 lib/active_remote/core_ext/date_time.rb
active_remote-2.3.5 lib/active_remote/core_ext/date_time.rb
active_remote-2.3.4 lib/active_remote/core_ext/date_time.rb
active_remote-2.3.3 lib/active_remote/core_ext/date_time.rb
active_remote-2.3.3.pre lib/active_remote/core_ext/date_time.rb
active_remote-2.3.2 lib/active_remote/core_ext/date_time.rb
active_remote-2.3.1 lib/active_remote/core_ext/date_time.rb
active_remote-2.3.0 lib/active_remote/core_ext/date_time.rb
active_remote-2.2.0 lib/active_remote/core_ext/date_time.rb
active_remote-2.1.1 lib/active_remote/core_ext/date_time.rb
active_remote-2.1.0 lib/active_remote/core_ext/date_time.rb
active_remote-2.1.0.rc2 lib/active_remote/core_ext/date_time.rb
active_remote-2.1.0.rc1 lib/active_remote/core_ext/date_time.rb
active_remote-2.1.0.beta2 lib/active_remote/core_ext/date_time.rb
active_remote-2.1.0.beta1 lib/active_remote/core_ext/date_time.rb
active_remote-2.0.2 lib/active_remote/core_ext/date_time.rb
active_remote-2.0.1 lib/active_remote/core_ext/date_time.rb
active_remote-2.0.0 lib/active_remote/core_ext/date_time.rb
active_remote-2.0.0.rc2 lib/active_remote/core_ext/date_time.rb
active_remote-2.0.0.rc1 lib/active_remote/core_ext/date_time.rb