Lovely Print
Colorful YAML dump for debug purposes.
Print a colorful YAML output:
lp your_object
Print a plain YAML output:
lp! your_object
# same as: puts your_object.to_yaml
Show the object's methods and instance variables:
lp? your_object
# similar to: puts (your_object.methods - Object.methods).to_yaml
Installation
$ gem install lp