Class: MetadataPresenter::Meta
- Defined in:
- app/models/metadata_presenter/meta.rb
Instance Attribute Summary
Attributes inherited from Metadata
Instance Method Summary collapse
Methods inherited from Metadata
#==, #editor?, #id, #initialize, #method_missing, #respond_to_missing?, #to_json, #type, #uuid
Constructor Details
This class inherits a constructor from MetadataPresenter::Metadata
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MetadataPresenter::Metadata
Instance Method Details
#items ⇒ Object
2 3 4 5 6 |
# File 'app/models/metadata_presenter/meta.rb', line 2 def items .items.map do |item| MetadataPresenter::MetaItem.new(item) end end |