Project

unfickle

0.0
No commit activity in last 3 years
No release in over 3 years
Help clean up code by using unfickle for constant declaration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 2.0.0
 Project Readme
This allows for better constant management. Use it like so:
  class MyClass
    set_const :read, 1
    set_const :write, 2
  end

You can then reference it directly like so:

  MyClass::READ

Unfickle gives you the ability to traverse through your constants by calling 
  MyClass.each_constant {|constant,constant_value| dosomething(constant, constant_value) }