Class: ShouldaMatchmakers::Configuration
- Inherits:
-
Object
- Object
- ShouldaMatchmakers::Configuration
- Defined in:
- lib/shoulda_matchmakers.rb
Instance Attribute Summary collapse
-
#action_controller_controller_names_excluded ⇒ Object
Returns the value of attribute action_controller_controller_names_excluded.
-
#action_controller_controller_names_included ⇒ Object
Returns the value of attribute action_controller_controller_names_included.
-
#action_controller_controller_tests_path ⇒ Object
Returns the value of attribute action_controller_controller_tests_path.
-
#active_record_class_names_excluded ⇒ Object
Returns the value of attribute active_record_class_names_excluded.
-
#active_record_class_names_included ⇒ Object
Returns the value of attribute active_record_class_names_included.
-
#active_record_model_class_names_for_factories_excluded ⇒ Object
Returns the value of attribute active_record_model_class_names_for_factories_excluded.
-
#active_record_model_class_names_for_factories_included ⇒ Object
Returns the value of attribute active_record_model_class_names_for_factories_included.
-
#active_record_model_factories_path ⇒ Object
Returns the value of attribute active_record_model_factories_path.
-
#active_record_model_tests_path ⇒ Object
Returns the value of attribute active_record_model_tests_path.
-
#include_enums ⇒ Object
Returns the value of attribute include_enums.
-
#preferred_generated_code_line_length ⇒ Object
Returns the value of attribute preferred_generated_code_line_length.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/shoulda_matchmakers.rb', line 28 def initialize @active_record_class_names_included = %w() @active_record_class_names_excluded = %w() @active_record_model_tests_path = 'spec/shoulda_matchmakers/models/active_record' @action_controller_controller_names_included = %w() @action_controller_controller_names_excluded = %w() @action_controller_controller_tests_path = 'spec/shoulda_matchmakers/controllers/action_controller' @active_record_model_class_names_for_factories_included = %w() @active_record_model_class_names_for_factories_excluded = %w() @active_record_model_factories_path = 'spec/shoulda_matchmakers/factories/active_record' @include_enums = true @preferred_generated_code_line_length = 120 end |
Instance Attribute Details
#action_controller_controller_names_excluded ⇒ Object
Returns the value of attribute action_controller_controller_names_excluded.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def action_controller_controller_names_excluded @action_controller_controller_names_excluded end |
#action_controller_controller_names_included ⇒ Object
Returns the value of attribute action_controller_controller_names_included.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def action_controller_controller_names_included @action_controller_controller_names_included end |
#action_controller_controller_tests_path ⇒ Object
Returns the value of attribute action_controller_controller_tests_path.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def action_controller_controller_tests_path @action_controller_controller_tests_path end |
#active_record_class_names_excluded ⇒ Object
Returns the value of attribute active_record_class_names_excluded.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def active_record_class_names_excluded @active_record_class_names_excluded end |
#active_record_class_names_included ⇒ Object
Returns the value of attribute active_record_class_names_included.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def active_record_class_names_included @active_record_class_names_included end |
#active_record_model_class_names_for_factories_excluded ⇒ Object
Returns the value of attribute active_record_model_class_names_for_factories_excluded.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def active_record_model_class_names_for_factories_excluded @active_record_model_class_names_for_factories_excluded end |
#active_record_model_class_names_for_factories_included ⇒ Object
Returns the value of attribute active_record_model_class_names_for_factories_included.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def active_record_model_class_names_for_factories_included @active_record_model_class_names_for_factories_included end |
#active_record_model_factories_path ⇒ Object
Returns the value of attribute active_record_model_factories_path.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def active_record_model_factories_path @active_record_model_factories_path end |
#active_record_model_tests_path ⇒ Object
Returns the value of attribute active_record_model_tests_path.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def active_record_model_tests_path @active_record_model_tests_path end |
#include_enums ⇒ Object
Returns the value of attribute include_enums.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def include_enums @include_enums end |
#preferred_generated_code_line_length ⇒ Object
Returns the value of attribute preferred_generated_code_line_length.
13 14 15 |
# File 'lib/shoulda_matchmakers.rb', line 13 def preferred_generated_code_line_length @preferred_generated_code_line_length end |