Project

lp

0.0
No release in over 3 years
Low commit activity in last 3 years
Lovely print
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Lovely Print

Gem Version Build Status


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