Class: Serialize::Format
- Inherits:
-
Object
- Object
- Serialize::Format
- Defined in:
- lib/serialize/format.rb
Instance Method Summary collapse
-
#initialize(object, block) ⇒ Format
constructor
A new instance of Format.
Constructor Details
#initialize(object, block) ⇒ Format
Returns a new instance of Format.
6 7 8 9 |
# File 'lib/serialize/format.rb', line 6 def initialize(object, block) @object = object @block = block end |