Class: Bowling::NullBall

Inherits:
NilClass
  • Object
show all
Defined in:
lib/bowling/null_ball.rb

Class Method Summary collapse

Class Method Details

.knocked_pinsObject



5
# File 'lib/bowling/null_ball.rb', line 5

def knocked_pins ; 0     ; end

.perfect?Boolean

Returns:

  • (Boolean)


7
# File 'lib/bowling/null_ball.rb', line 7

def perfect?     ; false ; end

.scoreObject



4
# File 'lib/bowling/null_ball.rb', line 4

def score        ; 0     ; end

.strike?Boolean

Returns:

  • (Boolean)


6
# File 'lib/bowling/null_ball.rb', line 6

def strike?      ; false ; end