Class: Waw::Routing::RoutingRule

Inherits:
Object
  • Object
show all
Defined in:
lib/waw/routing/routing_rule.rb

Instance Method Summary collapse

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