Class: Barker::Guideline::Mock
- Defined in:
- lib/barker/guideline/mock.rb
Constant Summary
Constants included from Errors
Errors::AlreadyAnsweredError, Errors::AlreadyStartedError, Errors::AnswerNotFoundError, Errors::BarkerError, Errors::FileNotExistError, Errors::HasToRespondToIdError, Errors::HasToRespondToLocaleError, Errors::JokerAlreadyUsedError, Errors::NoCurrentStageError, Errors::NotStartedError, Errors::RecordNotFound, Errors::UnknownJokerError
Instance Method Summary collapse
Methods inherited from Base
#answer, #candidates, #initialize, #round_time
Constructor Details
This class inherits a constructor from Barker::Guideline::Base
Instance Method Details
#jokers ⇒ Object
11 12 13 |
# File 'lib/barker/guideline/mock.rb', line 11 def jokers ['fifty_fifty'] end |
#quizzes ⇒ Object
7 8 9 |
# File 'lib/barker/guideline/mock.rb', line 7 def quizzes [FactoryGirl.build(:quiz)] end |