Class: Migsupo::Configuration
- Inherits:
-
Object
- Object
- Migsupo::Configuration
- Defined in:
- lib/migsupo/configuration.rb
Instance Attribute Summary collapse
-
#ignored_tables ⇒ Object
Returns the value of attribute ignored_tables.
-
#loader ⇒ Object
Returns the value of attribute loader.
-
#migration_version ⇒ Object
Returns the value of attribute migration_version.
-
#migrations_dir ⇒ Object
Returns the value of attribute migrations_dir.
-
#rename_hints ⇒ Object
Returns the value of attribute rename_hints.
-
#schemafile_path ⇒ Object
Returns the value of attribute schemafile_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 16 17 |
# File 'lib/migsupo/configuration.rb', line 10 def initialize @schemafile_path = "Schemafile" @migrations_dir = "db/migrate" @loader = :active_record @ignored_tables = %w[schema_migrations ar_internal_metadata] @rename_hints = {} @migration_version = nil end |
Instance Attribute Details
#ignored_tables ⇒ Object
Returns the value of attribute ignored_tables.
6 7 8 |
# File 'lib/migsupo/configuration.rb', line 6 def ignored_tables @ignored_tables end |
#loader ⇒ Object
Returns the value of attribute loader.
5 6 7 |
# File 'lib/migsupo/configuration.rb', line 5 def loader @loader end |
#migration_version ⇒ Object
Returns the value of attribute migration_version.
8 9 10 |
# File 'lib/migsupo/configuration.rb', line 8 def migration_version @migration_version end |
#migrations_dir ⇒ Object
Returns the value of attribute migrations_dir.
4 5 6 |
# File 'lib/migsupo/configuration.rb', line 4 def migrations_dir @migrations_dir end |
#rename_hints ⇒ Object
Returns the value of attribute rename_hints.
7 8 9 |
# File 'lib/migsupo/configuration.rb', line 7 def rename_hints @rename_hints end |
#schemafile_path ⇒ Object
Returns the value of attribute schemafile_path.
3 4 5 |
# File 'lib/migsupo/configuration.rb', line 3 def schemafile_path @schemafile_path end |