Four easy step:
You can click on the default unformatted code above to see the effect.
Ruby formmatter is beautify your minified ruby code, this make your ruby code more readable.
It also makes it easier for developers to read other developers codes as well.
Before
def example_method arg1,arg2
result=arg1+arg2
puts "The result is #{result}"
end
Formatter codedef example_method(arg1, arg2)
result = arg1 + arg2
puts "The result is #{result}"
end