Module: Fluxo

Defined in:
lib/fluxo.rb,
lib/fluxo/rspec.rb,
lib/fluxo/config.rb,
lib/fluxo/errors.rb,
lib/fluxo/result.rb,
lib/fluxo/version.rb,
lib/fluxo/operation.rb,
lib/fluxo/operation/attributes.rb,
lib/fluxo/active_model_extension.rb

Defined Under Namespace

Modules: ActiveModelExtension, Errors, Rspec Classes: Config, Error, InvalidResultError, Operation, Result, ValidationDefinitionError

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.config {|@config| ... } ⇒ Object Also known as: configure

Yields:



5
6
7
8
9
# File 'lib/fluxo/config.rb', line 5

def config
  @config ||= Config.new
  yield(@config) if block_given?
  @config
end