Module: PropelFacets

Defined in:
lib/generators/propel_facets/unpack_generator.rb,
lib/propel_facets.rb,
lib/generators/propel_facets/install_generator.rb,
lib/generators/propel_facets/templates/config/propel_facets.rb

Overview

All code is in your application and fully customizable.

Defined Under Namespace

Classes: Configuration, Error, InstallGenerator, UnpackGenerator

Constant Summary collapse

VERSION =
"0.3.4"

Class Method Summary collapse

Class Method Details

.configurationObject



19
20
21
# File 'lib/generators/propel_facets/templates/config/propel_facets.rb', line 19

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



23
24
25
# File 'lib/generators/propel_facets/templates/config/propel_facets.rb', line 23

def configure
  yield(configuration)
end

.reset_configuration!Object



27
28
29
# File 'lib/generators/propel_facets/templates/config/propel_facets.rb', line 27

def reset_configuration!
  @configuration = nil
end