class Timecop::TimeStackItem
- Timecop::TimeStackItem
- Reference
- Object
Defined in:
timecop/time_stack_item.crConstructors
- .new(mock_type : Symbol, time : Time = Time.now, scaling_factor : Float64 = 1.0)
- .new(mock_type : Symbol, scaling_factor : Float64 = 1.0, time : Time = Time.new)
Instance Method Summary
- #day(*args, **options)
- #day(*args, **options, &)
- #hour(*args, **options)
- #hour(*args, **options, &)
- #minute(*args, **options)
- #minute(*args, **options, &)
- #mock_type : Symbol
- #month(*args, **options)
- #month(*args, **options, &)
- #second(*args, **options)
- #second(*args, **options, &)
- #year(*args, **options)
- #year(*args, **options, &)