Method: Abilities::Proxy#initialize
- Defined in:
- lib/abilities/proxy.rb
#initialize(definitions, &block) ⇒ Proxy
Returns a new instance of Proxy.
4 5 6 7 |
# File 'lib/abilities/proxy.rb', line 4 def initialize(definitions, &block) @definitions = definitions instance_eval &block end |