Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- lib/dye.rb
Instance Method Summary collapse
Instance Method Details
#define_dye_method(custom_styles = {}) ⇒ Object
3 4 5 6 7 |
# File 'lib/dye.rb', line 3 def define_dye_method(custom_styles={}) define_method(:dye) do |*args| Dye.send :apply_styles, custom_styles, *args end end |