Module: Reforge

Defined in:
lib/reforge.rb,
lib/reforge/configuration.rb,
lib/reforge/transformation.rb,
lib/reforge/transformation/dsl.rb,
lib/reforge/transformation/tree.rb,
lib/reforge/transformation/transform.rb,
lib/reforge/transformation/transform/memo.rb,
lib/reforge/transformation/transform/factories.rb,
lib/reforge/transformation/tree/aggregate_node.rb,
lib/reforge/transformation/tree/transform_node.rb,
lib/reforge/transformation/tree/aggregate_node/factories.rb,
lib/reforge/transformation/tree/aggregate_node/hash_node.rb,
lib/reforge/transformation/tree/aggregate_node/array_node.rb

Defined Under Namespace

Classes: Configuration, Transformation

Class Method Summary collapse

Class Method Details

.configurationObject



10
11
12
# File 'lib/reforge.rb', line 10

def self.configuration
  @configuration ||= Configuration.new
end

.configuration=(configuration) ⇒ Object



14
15
16
# File 'lib/reforge.rb', line 14

def self.configuration=(configuration)
  @configuration = configuration
end

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

Yields:



6
7
8
# File 'lib/reforge.rb', line 6

def self.configure
  yield configuration if block_given?
end