Class: Makers::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/makers/proxy.rb

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ Proxy

Returns a new instance of Proxy.



4
5
6
# File 'lib/makers/proxy.rb', line 4

def initialize(&block)
  instance_eval &block
end

Instance Method Details

#maker(*args, &block) ⇒ Object



8
9
10
# File 'lib/makers/proxy.rb', line 8

def maker(*args, &block)
  Dsl::Maker.new *args, &block
end