Class: SonJay::ObjectModel::Content::ContentWithoutExtra
- Inherits:
-
Abstract
- Object
- Abstract
- SonJay::ObjectModel::Content::ContentWithoutExtra
show all
- Defined in:
- lib/son_jay/object_model/content/content_without_extra.rb
Instance Attribute Summary
Attributes inherited from Abstract
#model_properties
Instance Method Summary
collapse
Methods inherited from Abstract
#[], #[]=, #clone, #dup, #fetch, #freeze, #initialize, #load_data, #load_property, #to_json
Instance Method Details
#each ⇒ Object
11
12
13
14
15
|
# File 'lib/son_jay/object_model/content/content_without_extra.rb', line 11
def each
@data.each do |(name, value)|
yield name, value
end
end
|
#to_h ⇒ Object
17
18
19
|
# File 'lib/son_jay/object_model/content/content_without_extra.rb', line 17
def to_h
@data.dup
end
|