Class: Referee::Configuration
- Inherits:
-
Object
- Object
- Referee::Configuration
- Defined in:
- lib/referee/configuration.rb
Overview
Configuration container.
Instance Attribute Summary collapse
-
#bundle_id ⇒ Object
Returns the value of attribute bundle_id.
-
#error_on_missing_storyboard_ids ⇒ Object
Returns the value of attribute error_on_missing_storyboard_ids.
-
#language ⇒ Object
Returns the value of attribute language.
-
#output ⇒ Object
Returns the value of attribute output.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#project ⇒ Object
Returns the value of attribute project.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize(config) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(config) ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/referee/configuration.rb', line 7 def initialize(config) config.each do |key, value| send("#{key}=", value) end end |
Instance Attribute Details
#bundle_id ⇒ Object
Returns the value of attribute bundle_id.
4 5 6 |
# File 'lib/referee/configuration.rb', line 4 def bundle_id @bundle_id end |
#error_on_missing_storyboard_ids ⇒ Object
Returns the value of attribute error_on_missing_storyboard_ids.
4 5 6 |
# File 'lib/referee/configuration.rb', line 4 def error_on_missing_storyboard_ids @error_on_missing_storyboard_ids end |
#language ⇒ Object
Returns the value of attribute language.
4 5 6 |
# File 'lib/referee/configuration.rb', line 4 def language @language end |
#output ⇒ Object
Returns the value of attribute output.
4 5 6 |
# File 'lib/referee/configuration.rb', line 4 def output @output end |
#prefix ⇒ Object
Returns the value of attribute prefix.
4 5 6 |
# File 'lib/referee/configuration.rb', line 4 def prefix @prefix end |
#project ⇒ Object
Returns the value of attribute project.
4 5 6 |
# File 'lib/referee/configuration.rb', line 4 def project @project end |
#verbose ⇒ Object
Returns the value of attribute verbose.
4 5 6 |
# File 'lib/referee/configuration.rb', line 4 def verbose @verbose end |