Class: Serialize::Format

Inherits:
Object
  • Object
show all
Defined in:
lib/serialize/format.rb

Direct Known Subclasses

Json, Xml

Instance Method Summary collapse

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