Sha256: e651d4ed95e1f8f5a92bf56d4cc91c084f78833701e8585c7aa7202ba6cb7929
Contents?: true
Size: 422 Bytes
Versions: 5
Compression:
Stored size: 422 Bytes
Contents
# 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 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
Version data entries
5 entries across 5 versions & 2 rubygems