Class: Puree::Model::Structure
- Inherits:
-
Object
- Object
- Puree::Model::Structure
- Defined in:
- lib/puree/model/structure.rb
Overview
A structure.
Direct Known Subclasses
Address, CopyrightLicense, DownloadHeader, EndeavourPerson, EventHeader, File, LegalCondition, Link, OrganisationHeader, PersonName, PublicationStatus, RelatedContentHeader, SpatialPoint, TemporalRange
Instance Method Summary collapse
Instance Method Details
#data? ⇒ Boolean
8 9 10 11 12 13 14 |
# File 'lib/puree/model/structure.rb', line 8 def data? found = false instance_variables.each do |i| found = true if i end found end |