Module: Whiteprint::Config

Defined in:
lib/whiteprint/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.add_migration_to_gitObject

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_adapterObject

Returns the value of attribute default_adapter.



9
10
11
# File 'lib/whiteprint/config.rb', line 9

def default_adapter
  @default_adapter
end

.eager_loadObject

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_pathsObject

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_optionsObject

Returns the value of attribute meta_attribute_options.



9
10
11
# File 'lib/whiteprint/config.rb', line 9

def meta_attribute_options
  @meta_attribute_options
end

.migration_pathObject

Returns the value of attribute migration_path.



9
10
11
# File 'lib/whiteprint/config.rb', line 9

def migration_path
  @migration_path
end

.migration_strategyObject

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_optionsObject

Returns the value of attribute persisted_attribute_options.



9
10
11
# File 'lib/whiteprint/config.rb', line 9

def persisted_attribute_options
  @persisted_attribute_options
end

.pluginsObject

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