Project

classify

0.0
No commit activity in last 3 years
No release in over 3 years
Converts strings into constants using Ruby. Something simular to Rails' classify method.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Classify

Converts strings into constants using Ruby.

Something similar to Rails' classify method.

How do use

require 'rubygems'
require 'classify'

>> class MyRandomString; end
>> Classify.it!("my_random_string")
=> MyRandomString

How do install

[sudo] gem install classify

How to use it in a rails 3 project

Add gem 'classify' to your Gemfile and run bundle.

How to help

  • Start by copying the project or make your own branch.
  • Navigate to the root path of the project and run bundle.
  • Start by running all tests using rspec, rspec spec/classify_spec.rb.
  • Implement your own code, write some tests, commit and do a pull request.

Requirements

Classify is tested in OS X 10.6.6 using Ruby 1.8.7 and 1.9.2.