Module: Kweerie

Defined in:
lib/kweerie.rb,
lib/kweerie/base.rb,
lib/kweerie/version.rb,
lib/kweerie/base_object.rb,
lib/kweerie/configuration.rb,
lib/kweerie/result_class_generator.rb

Defined Under Namespace

Classes: Base, BaseObject, Configuration, ConfigurationError, Error, ResultClassGenerator, SQLFileNotFound

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



13
14
15
# File 'lib/kweerie.rb', line 13

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Yields:



17
18
19
# File 'lib/kweerie.rb', line 17

def configure
  yield(configuration)
end

.reset_configuration!Object



21
22
23
# File 'lib/kweerie.rb', line 21

def reset_configuration!
  @configuration = Configuration.new
end