Class: Sprite::DSL

Inherits:
DSL
  • Object
show all
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, options={}, &blk)
  @parent.add_action(meth, options, &blk)
end