Module: Whiteprint::Config
- Defined in:
- lib/whiteprint/config.rb
Class Attribute Summary collapse
-
.add_migration_to_git ⇒ Object
Returns the value of attribute add_migration_to_git.
-
.default_adapter ⇒ Object
Returns the value of attribute default_adapter.
-
.eager_load ⇒ Object
Returns the value of attribute eager_load.
-
.eager_load_paths ⇒ Object
Returns the value of attribute eager_load_paths.
-
.meta_attribute_options ⇒ Object
Returns the value of attribute meta_attribute_options.
-
.migration_path ⇒ Object
Returns the value of attribute migration_path.
-
.migration_strategy ⇒ Object
Returns the value of attribute migration_strategy.
-
.persisted_attribute_options ⇒ Object
Returns the value of attribute persisted_attribute_options.
-
.plugins ⇒ Object
Returns the value of attribute plugins.
Class Method Summary collapse
Class Attribute Details
.add_migration_to_git ⇒ Object
Returns the value of attribute add_migration_to_git.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def add_migration_to_git @add_migration_to_git end |
.default_adapter ⇒ Object
Returns the value of attribute default_adapter.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def default_adapter @default_adapter end |
.eager_load ⇒ Object
Returns the value of attribute eager_load.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def eager_load @eager_load end |
.eager_load_paths ⇒ Object
Returns the value of attribute eager_load_paths.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def eager_load_paths @eager_load_paths end |
.meta_attribute_options ⇒ Object
Returns the value of attribute meta_attribute_options.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def end |
.migration_path ⇒ Object
Returns the value of attribute migration_path.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def migration_path @migration_path end |
.migration_strategy ⇒ Object
Returns the value of attribute migration_strategy.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def migration_strategy @migration_strategy end |
.persisted_attribute_options ⇒ Object
Returns the value of attribute persisted_attribute_options.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def end |
.plugins ⇒ Object
Returns the value of attribute plugins.
9 10 11 |
# File 'lib/whiteprint/config.rb', line 9 def plugins @plugins end |
Class Method Details
.plugin(name) ⇒ Object
12 13 14 |
# File 'lib/whiteprint/config.rb', line 12 def plugin(name) self.plugins << name end |