class Scorecard::Badge
Attributes
check[RW]
gameables[RW]
identifier[R]
locked[RW]
name[RW]
unlocked[RW]
Public Class Methods
new(identifier, &block)
click to toggle source
# File lib/scorecard/badge.rb, line 5 def initialize(identifier, &block) @identifier = identifier block.call self end
Public Instance Methods
repeatable?()
click to toggle source
# File lib/scorecard/badge.rb, line 11 def repeatable? @gameables.present? end