Skip to content

Instantly share code, notes, and snippets.

@nicolasblanco
Created August 30, 2013 14:26
Show Gist options
  • Select an option

  • Save nicolasblanco/6390416 to your computer and use it in GitHub Desktop.

Select an option

Save nicolasblanco/6390416 to your computer and use it in GitHub Desktop.
[27] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_5>)> a
=> Fri, 30 Aug 2013 16:08:29 CEST +02:00
[28] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_5>)> b
=> Fri, 30 Aug 2013 16:08:29 CEST +02:00
[29] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_5>)> a.class
=> ActiveSupport::TimeWithZone
[30] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_5>)> b.class
=> ActiveSupport::TimeWithZone
[31] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_5>)> a.to_i
=> 1377871709
[32] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_5>)> b.to_i
=> 1377871709
[33] pry(#<RSpec::Core::ExampleGroup::Nested_1::Nested_5>)> a == b
=> false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment