Class: StoreSchema::Converter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/store_schema/converter/base.rb

Direct Known Subclasses

Boolean, DateTime, Float, Integer, String

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Base

Returns a new instance of Base.

Parameters:

  • value (Object)

9
10
11
# File 'lib/store_schema/converter/base.rb', line 9

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns:

  • (Object)

5
6
7
# File 'lib/store_schema/converter/base.rb', line 5

def value
  @value
end