class Screengem::Configuration
Configuration
for the Screengem
gem.
Attributes
apply_dampening[RW]
A boolean that specifies that dampening is to be applied.
dampen_configuration_filename[RW]
The name of the YAML file that is used to configure dampening.
dampen_configuration_root[RW]
The top level key in the YAML file that is used to configure dampening.
question_scope[RW]
A string that namespaces questions classes (used by the QuestionFactory).
task_scope[RW]
A string that namespaces task classes (used by the TaskFactory).
Public Class Methods
new()
click to toggle source
# File lib/screengem/configuration.rb, line 34 def initialize self.apply_dampening = false self.dampen_configuration_root = "default" self.question_scope = "Questions" self.task_scope = "Tasks" end
Public Instance Methods
apply_dampening?()
click to toggle source
# File lib/screengem/configuration.rb, line 43 def apply_dampening? apply_dampening end
dampen_configuration_sample_filename()
click to toggle source
# File lib/screengem/configuration.rb, line 47 def dampen_configuration_sample_filename "#{dampen_configuration_filename}.sample" end