class BlackKing
Attributes
start[R]
Public Class Methods
new(x,y)
click to toggle source
Calls superclass method
BlackPiece::new
# File lib/king.rb, line 97 def initialize(x,y) super @start = true @direction = -1 end
Public Instance Methods
to_s()
click to toggle source
# File lib/king.rb, line 103 def to_s "B!" end