Class: RSpec::Hermetic::Probe::Time
- Defined in:
- lib/rspec/hermetic/probe/time.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RSpec::Hermetic::Probe::Base
Instance Method Details
#capture(context) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/rspec/hermetic/probe/time.rb', line 9 def capture(context) {}.tap do |values| capture_clock_offset(values) capture_active_support_time_helpers(values, context) capture_timecop(values) end end |