Module: HashAttributeAssignment
- Defined in:
- lib/hash_attribute_assignment.rb,
lib/hash_attribute_assignment/version.rb
Defined Under Namespace
Modules: ClassMethods
Classes: HashAttributeAssignor
Constant Summary
collapse
- VERSION =
'0.0.3'.freeze
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
67
68
69
|
# File 'lib/hash_attribute_assignment.rb', line 67
def self.included(base)
base.extend ClassMethods
end
|
Instance Method Details
#initialize(hash = {}) ⇒ Object