Method: SXRB::Proxy#initialize
- Defined in:
- lib/sxrb/proxy.rb
#initialize(callback_tree, current_path = '') ⇒ Proxy
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Proxy objects are generated by the SXRB itself, and are passed to blocks to be used as DSL. They should not be created in any other context. Implementation might change without prior notice.
12 13 14 15 |
# File 'lib/sxrb/proxy.rb', line 12 def initialize(callback_tree, current_path = '') @callback_tree = callback_tree @current_path = current_path end |