Class: Amida::Route

Inherits:
Object
  • Object
show all
Defined in:
lib/amida/route.rb

Instance Method Summary collapse

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 = generate_crossbars
end

Instance Method Details

#renderObject



8
9
10
# File 'lib/amida/route.rb', line 8

def render
  puts to_s
end