lib/grumlin/bytecode.rb in grumlin-0.14.1 vs lib/grumlin/bytecode.rb in grumlin-0.14.2
- old
+ new
@@ -23,10 +23,13 @@
configuration_steps = @step.configuration_steps.map do |s|
serialize_arg(s, serialization_method: :to_readable_bytecode)
end
"#{configuration_steps.any? ? configuration_steps : nil}#{to_readable_bytecode}"
end
- alias to_s inspect
+
+ def to_s
+ inspect
+ end
def to_readable_bytecode
@to_readable_bytecode ||= steps.map { |s| serialize_arg(s, serialization_method: :to_readable_bytecode) }
end