Class: Bowling::NullFrame

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

Class Method Summary collapse

Class Method Details

.ballsObject



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

def balls      ; []                ; end

.first_ballObject



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

def first_ball ; Bowling::NullBall ; end

.strike?Boolean

Returns:

  • (Boolean)


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

def strike?    ; false             ; end