Class: Sprite::DSL
- Inherits:
-
DSL
- Object
- DSL
- Sprite::DSL
- Defined in:
- lib/rmagick-sprite.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, options = {}, &blk) ⇒ Object
12 13 14 |
# File 'lib/rmagick-sprite.rb', line 12 def method_missing(meth, ={}, &blk) @parent.add_action(meth, , &blk) end |