Class: RomFactory::Attributes::Regular

Inherits:
Object
  • Object
show all
Defined in:
lib/rom_factory/attributes/regular.rb

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Regular

Returns a new instance of Regular.



4
5
6
# File 'lib/rom_factory/attributes/regular.rb', line 4

def initialize(value)
  @value = value
end

Instance Method Details

#callObject



8
9
10
# File 'lib/rom_factory/attributes/regular.rb', line 8

def call
  @value
end