Class: RomFactory::Attributes::Regular
- Inherits:
-
Object
- Object
- RomFactory::Attributes::Regular
- Defined in:
- lib/rom_factory/attributes/regular.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(value) ⇒ Regular
constructor
A new instance of Regular.
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
#call ⇒ Object
8 9 10 |
# File 'lib/rom_factory/attributes/regular.rb', line 8 def call @value end |