Module: Attribeauty

Defined in:
lib/attribeauty.rb,
lib/attribeauty/base.rb,
lib/attribeauty/params.rb,
lib/attribeauty/version.rb,
lib/attribeauty/validator.rb,
lib/attribeauty/types/time.rb,
lib/attribeauty/type_caster.rb,
lib/attribeauty/types/float.rb,
lib/attribeauty/types/string.rb,
lib/attribeauty/configuration.rb,
lib/attribeauty/types/boolean.rb,
lib/attribeauty/types/integer.rb

Overview

Module

Defined Under Namespace

Modules: Types Classes: Base, Configuration, Error, MissingAttributeError, Params, TypeCaster, Validator, ValueInvalidError

Constant Summary collapse

VERSION =
"0.4.11"

Class Method Summary collapse

Class Method Details

.configurationObject



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

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



18
19
20
# File 'lib/attribeauty.rb', line 18

def configure
  yield(configuration)
end