Class: HasManyVersions::HistoryItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/has_many_versions.rb

Instance Attribute Summary collapse

Instance Attribute Details

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



11
12
13
# File 'lib/has_many_versions.rb', line 11

def state
  @state
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



11
12
13
# File 'lib/has_many_versions.rb', line 11

def version
  @version
end