class WhiteRook
Attributes
start[R]
Public Class Methods
new(x,y)
click to toggle source
Calls superclass method
WhitePiece::new
# File lib/rook.rb, line 32 def initialize(x,y) super @start = true end
Public Instance Methods
to_s()
click to toggle source
# File lib/rook.rb, line 37 def to_s "WR" end