Module: VersatileRJS::Proxy::SelectorProxy
- Includes:
- FrameworkDependent
- Included in:
- Jquery::SelectorProxy
- Defined in:
- lib/versatile_rjs/proxy/selector_proxy.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 |
# File 'lib/versatile_rjs/proxy/selector_proxy.rb', line 6 def self.included(base) base.class_eval do attr_accessor :selector end end |
Instance Method Details
#initialize(page, selector) ⇒ Object
12 13 14 |
# File 'lib/versatile_rjs/proxy/selector_proxy.rb', line 12 def initialize(page, selector) super(page, statement_for_selector(selector)) end |