lib/mazes/mask.rb
# Public: Get a count of all masks set to true.
#
# Returns an Integer count of all true masks.
Get a count of all masks set to true.
Returns an Integer count of all true masks.
Get a count of all masks set to true . Returns an Integer count of all true masks .
def size
			count = 0
			each_mask do |c|
				count += 1 if c
			end
			count
		end
def size count = 0 each_mask do | c | count += 1 if c end count end
Public: Get a count of all masks set to true.
Public : Get a count of all masks set to true .