Class: Screengem::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/screengem/configuration.rb

Overview

Configuration for the Screengem gem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



25
26
27
28
# File 'lib/screengem/configuration.rb', line 25

def initialize
  self.question_scope = "Questions"
  self.task_scope = "Tasks"
end

Instance Attribute Details

#question_scopeObject

A string that namespaces questions classes (used by the QuestionFactory).



20
21
22
# File 'lib/screengem/configuration.rb', line 20

def question_scope
  @question_scope
end

#task_scopeObject

A string that namespaces task classes (used by the TaskFactory).



23
24
25
# File 'lib/screengem/configuration.rb', line 23

def task_scope
  @task_scope
end