Class: Grumlin::StepsSerializers::Serializer

Inherits:
Object
  • Object
show all
Defined in:
lib/grumlin/steps_serializers/serializer.rb

Direct Known Subclasses

Bytecode, String

Instance Method Summary collapse

Constructor Details

#initialize(steps, **params) ⇒ Serializer

Returns a new instance of Serializer.



4
5
6
7
# File 'lib/grumlin/steps_serializers/serializer.rb', line 4

def initialize(steps, **params)
  @steps = steps
  @params = params
end

Instance Method Details

#serializeObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/grumlin/steps_serializers/serializer.rb', line 9

def serialize
  raise NotImplementedError
end