Class: Grumlin::StepsSerializers::HumanReadableBytecode
- Inherits:
-
Bytecode
- Object
- Bytecode
- Grumlin::StepsSerializers::HumanReadableBytecode
- Defined in:
- lib/grumlin/steps_serializers/human_readable_bytecode.rb
Instance Method Summary collapse
Instance Method Details
#serialize ⇒ Object
4 5 6 7 8 9 |
# File 'lib/grumlin/steps_serializers/human_readable_bytecode.rb', line 4 def serialize steps = Grumlin::ShortcutsApplyer.call(@steps) [steps.configuration_steps, steps.steps].map do |stps| stps.map { |s| serialize_step(s) } end end |