Class: Guide::Configuration
- Inherits:
-
Object
- Object
- Guide::Configuration
- Defined in:
- lib/guide/configuration.rb
Instance Attribute Summary collapse
-
#asset_path_for_logo ⇒ Object
Returns the value of attribute asset_path_for_logo.
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#controller_class_to_inherit ⇒ Object
Returns the value of attribute controller_class_to_inherit.
-
#default_javascripts_for_documents ⇒ Object
Returns the value of attribute default_javascripts_for_documents.
-
#default_javascripts_for_structures ⇒ Object
Returns the value of attribute default_javascripts_for_structures.
-
#default_layout_for_scenarios ⇒ Object
Returns the value of attribute default_layout_for_scenarios.
-
#default_stylesheets_for_documents ⇒ Object
Returns the value of attribute default_stylesheets_for_documents.
-
#default_stylesheets_for_structures ⇒ Object
Returns the value of attribute default_stylesheets_for_structures.
-
#guide_name ⇒ Object
Returns the value of attribute guide_name.
-
#helper_module_to_globally_include ⇒ Object
Returns the value of attribute helper_module_to_globally_include.
-
#local_variable_for_view_model ⇒ Object
Returns the value of attribute local_variable_for_view_model.
-
#supported_locales ⇒ Object
Returns the value of attribute supported_locales.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/guide/configuration.rb', line 15 def initialize @asset_path_for_logo = '' @company_name = 'Your Awesome Company' @controller_class_to_inherit = 'ApplicationController' @default_layout_for_scenarios = 'layouts/guide/scenario/default' @default_javascripts_for_documents = [] @default_javascripts_for_structures = [] @default_stylesheets_for_documents = [] @default_stylesheets_for_structures = [] @guide_name = 'Your Awesome Guide' @helper_module_to_globally_include = 'Guide::ApplicationHelper::DefaultInclude' @local_variable_for_view_model = :view @supported_locales = { "English" => "en" } end |
Instance Attribute Details
#asset_path_for_logo ⇒ Object
Returns the value of attribute asset_path_for_logo.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def asset_path_for_logo @asset_path_for_logo end |
#company_name ⇒ Object
Returns the value of attribute company_name.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def company_name @company_name end |
#controller_class_to_inherit ⇒ Object
Returns the value of attribute controller_class_to_inherit.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def controller_class_to_inherit @controller_class_to_inherit end |
#default_javascripts_for_documents ⇒ Object
Returns the value of attribute default_javascripts_for_documents.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def default_javascripts_for_documents @default_javascripts_for_documents end |
#default_javascripts_for_structures ⇒ Object
Returns the value of attribute default_javascripts_for_structures.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def default_javascripts_for_structures @default_javascripts_for_structures end |
#default_layout_for_scenarios ⇒ Object
Returns the value of attribute default_layout_for_scenarios.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def default_layout_for_scenarios @default_layout_for_scenarios end |
#default_stylesheets_for_documents ⇒ Object
Returns the value of attribute default_stylesheets_for_documents.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def default_stylesheets_for_documents @default_stylesheets_for_documents end |
#default_stylesheets_for_structures ⇒ Object
Returns the value of attribute default_stylesheets_for_structures.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def default_stylesheets_for_structures @default_stylesheets_for_structures end |
#guide_name ⇒ Object
Returns the value of attribute guide_name.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def guide_name @guide_name end |
#helper_module_to_globally_include ⇒ Object
Returns the value of attribute helper_module_to_globally_include.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def helper_module_to_globally_include @helper_module_to_globally_include end |
#local_variable_for_view_model ⇒ Object
Returns the value of attribute local_variable_for_view_model.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def local_variable_for_view_model @local_variable_for_view_model end |
#supported_locales ⇒ Object
Returns the value of attribute supported_locales.
2 3 4 |
# File 'lib/guide/configuration.rb', line 2 def supported_locales @supported_locales end |