Class: RightLine

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

Instance Method Summary collapse

Constructor Details

#initialize(w) ⇒ RightLine

Returns a new instance of RightLine.



48
49
50
51
52
# File 'lib/display.rb', line 48

def initialize(w)
  @window = w
  @width = @window.scope_width
  @height = @window.height
end

Instance Method Details

#drawObject



54
55
56
# File 'lib/display.rb', line 54

def draw
  line
end