Class: DatabaseCleaner::ActiveRecord::Seeded::Configuration
- Inherits:
-
Object
- Object
- DatabaseCleaner::ActiveRecord::Seeded::Configuration
- Defined in:
- lib/database_cleaner/active_record/seeded/configuration.rb
Constant Summary collapse
- DEFAULT_SEEDS_FILE_PATH =
'tmp/database_cleaner_seeds.sql'
Instance Attribute Summary collapse
-
#seeds_file_path ⇒ Object
Returns the value of attribute seeds_file_path.
-
#skip_seed_regeneration ⇒ Object
Returns the value of attribute skip_seed_regeneration.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 |
# File 'lib/database_cleaner/active_record/seeded/configuration.rb', line 9 def initialize @seeds_file_path = DEFAULT_SEEDS_FILE_PATH end |
Instance Attribute Details
#seeds_file_path ⇒ Object
Returns the value of attribute seeds_file_path.
7 8 9 |
# File 'lib/database_cleaner/active_record/seeded/configuration.rb', line 7 def seeds_file_path @seeds_file_path end |
#skip_seed_regeneration ⇒ Object
Returns the value of attribute skip_seed_regeneration.
7 8 9 |
# File 'lib/database_cleaner/active_record/seeded/configuration.rb', line 7 def skip_seed_regeneration @skip_seed_regeneration end |