Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
lib
test
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
example.rb
generate_html_table.rb
install_local.sh
listof.gemspec

README.md

Listof

Solution

irb> Listof.find('us_states')

Installation

Add this line to your application's Gemfile:

gem 'listof', :git => 'https://github.com/kevincobain2000/listof', :branch => 'master'

And then execute:

$ bundle

Or install it yourself as:

$ gem install listof

Usage

require 'listof'

puts Listof.find("countries")
puts Listof.find("countries").to_json
puts Listof.find("occupations").to_yaml
puts Listof.find("top_movies").to_yaml
puts Listof.all().to_yaml

Glossary