Module: ShallowAttributes
- Includes:
- InstanceMethods
- Defined in:
- lib/shallow_attributes.rb,
lib/shallow_attributes/type.rb,
lib/shallow_attributes/version.rb,
lib/shallow_attributes/type/time.rb,
lib/shallow_attributes/type/array.rb,
lib/shallow_attributes/type/float.rb,
lib/shallow_attributes/type/string.rb,
lib/shallow_attributes/type/boolean.rb,
lib/shallow_attributes/type/integer.rb,
lib/shallow_attributes/class_methods.rb,
lib/shallow_attributes/type/date_time.rb,
lib/shallow_attributes/instance_methods.rb
Overview
Main module
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, Type
Constant Summary collapse
- VERSION =
Defines the full version
"0.9.0".freeze
Constants included from InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Class
Including ShallowAttributes class methods to specific class.
Methods included from InstanceMethods
#==, #attributes, #attributes=, #coerce, #initialize, #inspect, #reset_attribute
Class Method Details
.included(base) ⇒ Class
Including ShallowAttributes class methods to specific class
21 22 23 |
# File 'lib/shallow_attributes.rb', line 21 def self.included(base) base.extend(ClassMethods) end |