Sha256: 7e8d3c0506c90d0b2cbdc099b31a11ca5e273ea4c0f405123ccb291a91df13b7
Contents?: true
Size: 463 Bytes
Versions: 4
Compression:
Stored size: 463 Bytes
Contents
class Timecop # Simply a data class for carrying around "time movement" objects. Makes it easy to keep track of the time # movements on a simple stack. class StackItem #:nodoc: attr_reader :mock_type, :year, :month, :day, :hour, :minute, :second def initialize(mock_type, year, month, day, hour, minute, second) @mock_type, @year, @month, @day, @hour, @minute, @second = mock_type, year, month, day, hour, minute, second end end end
Version data entries
4 entries across 4 versions & 3 rubygems
Version | Path |
---|---|
jtrupiano-timecop-0.3.0 | lib/timecop/stack_item.rb |
liangzan-timecop-0.3.1 | lib/timecop/stack_item.rb |
timecop-0.3.1 | lib/timecop/stack_item.rb |
timecop-0.3.0 | lib/timecop/stack_item.rb |