Class: Waw::Routing::Javascript
- Inherits:
-
RoutingRule
- Object
- RoutingRule
- Waw::Routing::Javascript
- Defined in:
- lib/waw/routing/javascript.rb
Overview
Javascript routing
Instance Method Summary collapse
- #generate_js_code(result, align = 0) ⇒ Object
-
#initialize(code) ⇒ Javascript
constructor
Creates a javascript instance.
Methods inherited from RoutingRule
Constructor Details
#initialize(code) ⇒ Javascript
Creates a javascript instance
7 8 9 |
# File 'lib/waw/routing/javascript.rb', line 7 def initialize(code) @code = code end |
Instance Method Details
#generate_js_code(result, align = 0) ⇒ Object
11 12 13 |
# File 'lib/waw/routing/javascript.rb', line 11 def generate_js_code(result, align=0) @code end |