Class: MetadataPresenter::Item

Inherits:
Metadata
  • Object
show all
Defined in:
app/models/metadata_presenter/item.rb

Instance Attribute Summary

Attributes inherited from Metadata

#metadata

Instance Method Summary collapse

Methods inherited from Metadata

#==, #editor?, #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

#descriptionObject



10
11
12
# File 'app/models/metadata_presenter/item.rb', line 10

def description
  hint
end

#idObject



2
3
4
# File 'app/models/metadata_presenter/item.rb', line 2

def id
  label
end

#nameObject



6
7
8
# File 'app/models/metadata_presenter/item.rb', line 6

def name
  label
end