No commit activity in last 3 years
No release in over 3 years
Add utility methods on defined class.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.7
~> 10.0
 Project Readme

#What is clazz_extensions

Add utility methods on defined class.

##example

"example_class".classify             #=> "ExampleClass"
"example/class_a".classify           #=> "Example::ClassA"
[:a, :b, :c, :a, :d, :c].duplication #=> [:a, :c]

How to Use

add all

ClazzExtension.load do
  array :all
  string :all
end

add specific methods

ClazzExtension.load do
  string add:  [:classify ]
  array  add:  [:duplication, :unduplication ]
end

add every methods that excluding specific

ClazzExtension.load do
  string refect:  [:to_const ]
  array  refect:  [:duplication! ]
end