Class: Algebrick::Serializers::Abstract

Inherits:
Object
  • Object
show all
Includes:
TypeCheck
Defined in:
lib/algebrick/serializers/abstract.rb

Direct Known Subclasses

AbstractToHash, Chain, ToJson

Instance Method Summary (collapse)

Methods included from TypeCheck

#Child!, #Child?, #Match!, #Match?, #Type!, #Type?, error

Instance Method Details

- (Object) dump(object, options = {})

Raises:

  • (NotImplementedError)


24
25
26
# File 'lib/algebrick/serializers/abstract.rb', line 24

def dump(object, options = {})
  raise NotImplementedError
end

- (Object) load(data, options = {})

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/algebrick/serializers/abstract.rb', line 20

def load(data, options = {})
  raise NotImplementedError
end