Module: Garcon::Coercions

Defined in:
lib/garcon/chef/coerce/coercer.rb,
lib/garcon/chef/coerce/coercions/date_definitions.rb,
lib/garcon/chef/coerce/coercions/hash_definitions.rb,
lib/garcon/chef/coerce/coercions/time_definitions.rb,
lib/garcon/chef/coerce/coercions/float_definitions.rb,
lib/garcon/chef/coerce/coercions/fixnum_definitions.rb,
lib/garcon/chef/coerce/coercions/string_definitions.rb,
lib/garcon/chef/coerce/coercions/boolean_definitions.rb,
lib/garcon/chef/coerce/coercions/integer_definitions.rb,
lib/garcon/chef/coerce/coercions/date_time_definitions.rb

Defined Under Namespace

Classes: BooleanDefinitions, DateDefinitions, DateTimeDefinitions, FixnumDefinitions, FloatDefinitions, HashDefinitions, IntegerDefinitions, StringDefinitions, TimeDefinitions

Class Method Summary collapse

Class Method Details

.bind_to(coercer) ⇒ Object



125
126
127
128
129
130
131
132
133
134
135
# File 'lib/garcon/chef/coerce/coercer.rb', line 125

def self.bind_to(coercer)
  Garcon::Coercions::DateDefinitions.bind_to(coercer)
  Garcon::Coercions::DateTimeDefinitions.bind_to(coercer)
  Garcon::Coercions::FixnumDefinitions.bind_to(coercer)
  Garcon::Coercions::FloatDefinitions.bind_to(coercer)
  Garcon::Coercions::IntegerDefinitions.bind_to(coercer)
  Garcon::Coercions::StringDefinitions.bind_to(coercer)
  Garcon::Coercions::TimeDefinitions.bind_to(coercer)
  Garcon::Coercions::HashDefinitions.bind_to(coercer)
  Garcon::Coercions::BooleanDefinitions.bind_to(coercer)
end