Class: Waw::Routing::RoutingRule
- Defined in:
- lib/waw/routing/routing_rule.rb
Direct Known Subclasses
Feedback, FormValidationFeedback, Javascript, Redirect, Refresh
Instance Method Summary collapse
-
#apply_on_browser(result, browser) ⇒ Object
Applies this routing rule on a Waw::WSpec::Browser instance.
- #generate_js_code(result, align = 0) ⇒ Object
Instance Method Details
#apply_on_browser(result, browser) ⇒ Object
Applies this routing rule on a Waw::WSpec::Browser instance. By default, does nothing at all.
7 8 |
# File 'lib/waw/routing/routing_rule.rb', line 7 def apply_on_browser(result, browser) end |
#generate_js_code(result, align = 0) ⇒ Object
10 11 12 |
# File 'lib/waw/routing/routing_rule.rb', line 10 def generate_js_code(result, align=0) raise "RoutingRule #{self.class} does not support javascript code generation" end |