Skip to content
Lovely Print
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Runfile
lp.gemspec

README.md

Lovely Print

Gem Version Build Status


Because Awesome is Annoying, and Pretty is Not.

This is the tinyest gem possible. It lets you print anything as YAML with:

lp your_object

Installation

$ gem install lp

Usage

require 'lp'

anything = { ace: 'ventura', like: ['a', 'glove'] }
lp anything
# => 
# ---
# :ace: ventura
# :like:
# - a
# - glove

Why?...

  • p is messy
  • pp is messy
  • ap is colorful and messy
  • why not
You can’t perform that action at this time.