Module: Fluxo

Defined in:
lib/fluxo.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/operation/constructor.rb,
lib/fluxo/active_model_extension.rb

Defined Under Namespace

Modules: ActiveModelExtension Classes: AttributeError, Config, Error, InvalidResultError, MissingAttributeError, NotDefinedAttributeError, Operation, Result, ValidationDefinitionError

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.config {|@config| ... } ⇒ Object

Yields:



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

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