Class: Screengem::Configuration
- Inherits:
-
Object
- Object
- Screengem::Configuration
- Defined in:
- lib/screengem/configuration.rb
Overview
Configuration for the Screengem gem.
Instance Attribute Summary collapse
-
#question_scope ⇒ Object
A string that namespaces questions classes (used by the QuestionFactory).
-
#task_scope ⇒ Object
A string that namespaces task classes (used by the TaskFactory).
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_scope ⇒ Object
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_scope ⇒ Object
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 |