Class: Hmvc::Rails::Configuration
- Inherits:
-
Object
- Object
- Hmvc::Rails::Configuration
- Defined in:
- lib/hmvc/rails.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#file_traces ⇒ Object
Returns the value of attribute file_traces.
-
#form ⇒ Object
Returns the value of attribute form.
-
#parent_controller ⇒ Object
Returns the value of attribute parent_controller.
-
#parent_form ⇒ Object
Returns the value of attribute parent_form.
-
#parent_operation ⇒ Object
Returns the value of attribute parent_operation.
-
#view ⇒ Object
Returns the value of attribute view.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
24 25 26 27 28 29 30 31 32 |
# File 'lib/hmvc/rails.rb', line 24 def initialize @parent_controller = "ApplicationController" @action = %w[index show new create edit update destroy] @view = %w[index show new edit] @form = %w[new create edit update] @parent_form = "ApplicationForm" @parent_operation = "ApplicationOperation" @file_traces = true end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
22 23 24 |
# File 'lib/hmvc/rails.rb', line 22 def action @action end |
#file_traces ⇒ Object
Returns the value of attribute file_traces.
22 23 24 |
# File 'lib/hmvc/rails.rb', line 22 def file_traces @file_traces end |
#form ⇒ Object
Returns the value of attribute form.
22 23 24 |
# File 'lib/hmvc/rails.rb', line 22 def form @form end |
#parent_controller ⇒ Object
Returns the value of attribute parent_controller.
22 23 24 |
# File 'lib/hmvc/rails.rb', line 22 def parent_controller @parent_controller end |
#parent_form ⇒ Object
Returns the value of attribute parent_form.
22 23 24 |
# File 'lib/hmvc/rails.rb', line 22 def parent_form @parent_form end |
#parent_operation ⇒ Object
Returns the value of attribute parent_operation.
22 23 24 |
# File 'lib/hmvc/rails.rb', line 22 def parent_operation @parent_operation end |
#view ⇒ Object
Returns the value of attribute view.
22 23 24 |
# File 'lib/hmvc/rails.rb', line 22 def view @view end |