Class: RightLine
- Inherits:
-
Object
- Object
- RightLine
- Defined in:
- lib/display.rb
Instance Method Summary collapse
- #draw ⇒ Object
-
#initialize(w) ⇒ RightLine
constructor
A new instance of RightLine.
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
#draw ⇒ Object
54 55 56 |
# File 'lib/display.rb', line 54 def draw line end |