Class: Amida::Route
- Inherits:
-
Object
- Object
- Amida::Route
- Defined in:
- lib/amida/route.rb
Instance Method Summary collapse
-
#initialize(width, height) ⇒ Route
constructor
A new instance of Route.
- #render ⇒ Object
Constructor Details
#initialize(width, height) ⇒ Route
Returns a new instance of Route.
3 4 5 6 |
# File 'lib/amida/route.rb', line 3 def initialize(width, height) @width, @height = width, height @crossbars = end |
Instance Method Details
#render ⇒ Object
8 9 10 |
# File 'lib/amida/route.rb', line 8 def render puts to_s end |