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