Class: Kangaroo::Util::Proxy
- Inherits:
-
Rapuncel::Proxy
- Object
- Rapuncel::Proxy
- Kangaroo::Util::Proxy
show all
- Defined in:
- lib/kangaroo/util/proxy.rb
Defined Under Namespace
Classes: Common, Db, Object, Report, Superadmin, Wizard, Workflow
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.new(*args) ⇒ Object
23
24
25
26
27
|
# File 'lib/kangaroo/util/proxy.rb', line 23
def self.new *args
allocate.__tap__ do |proxy|
proxy.__initialize__ *args
end
end
|
Instance Method Details
#__initialize__(client, *curry_args) ⇒ Object
14
15
16
17
|
# File 'lib/kangaroo/util/proxy.rb', line 14
def __initialize__ client, *curry_args
super client, nil
@curry_args = curry_args
end
|
#call!(name, *args) ⇒ Object
19
20
21
|
# File 'lib/kangaroo/util/proxy.rb', line 19
def call! name, *args
super name, *__curry__(*args)
end
|