Module: HasBrowser::ClassMethods
- Defined in:
- lib/has_browser.rb
Instance Method Summary collapse
Instance Method Details
#has_browser(*args) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/has_browser.rb', line 11 def has_browser(*args) extend BrowserMethods class_inheritable_accessor :has_browser_allowed_finders self.has_browser_allowed_finders = {} has_browser_allowed_finders[:without_args] = args.[:without_args] || [] has_browser_allowed_finders[:with_args] = args end |