Class: ActiveFedora::Aggregation::Proxy
- Defined in:
- lib/active_fedora/aggregation/proxy.rb
Constant Summary
Constants included from ActiveFedora::AttributeMethods
ActiveFedora::AttributeMethods::AttrNames, ActiveFedora::AttributeMethods::BLACKLISTED_CLASS_METHODS
Constants included from ActiveFedora::AutosaveAssociation
ActiveFedora::AutosaveAssociation::ASSOCIATION_TYPES
Constants included from Callbacks
Instance Attribute Summary
Attributes included from ActiveFedora::Associations
Instance Method Summary collapse
Methods included from LdpCache::ClassMethods
Methods included from Querying
#default_sort_params, extended
Methods included from BaseExtension
Methods included from LoadableFromJson
Methods included from Versionable
#create_version, #has_versions?, #model_type, #restore_version, #versions
Methods included from ActiveFedora::Attributes
#[], #[]=, #attribute_names, #attributes, #local_attributes
Methods included from ActiveFedora::AttributeMethods
#[], #[]=, #attribute_for_inspect, #attribute_names, #attribute_present?, #attributes, #has_attribute?
Methods included from Reflection
add_reflection, create, #reflections
Methods included from FedoraAttributes
Methods included from ActiveFedora::AttachedFiles
#add_file, #attach_file, #attached_files, #clear_attached_files, #contains_assertions, #declared_attached_files, #load_attached_files, #metadata_streams, #serialize_attached_files, #undeclared_files
Methods included from Serialization
Methods included from NestedAttributes
Methods included from ActiveFedora::AutosaveAssociation
#changed_for_autosave?, #destroyed_by_association, #destroyed_by_association=, #mark_for_destruction, #marked_for_destruction?, #reload
Methods included from ActiveFedora::Associations
#association, #clear_association_cache, #delete
Methods included from Validations
#required?, #save, #save!, #valid?
Methods included from Callbacks
Methods included from Scoping
#initialize_internals_callback, #populate_with_current_scope_attributes
Methods included from Indexing
#indexing_service, #to_solr, #update_index
Methods included from Persistence
#base_path_for_resource=, #delete, #destroy, #destroy!, #destroyed?, #eradicate, #new_record?, #persisted?, #save, #save!, #update, #update!
Methods included from Identifiable
Methods included from Core
#freeze, #init_with_resource, #initialize, #inspect, #reload, #uri=
Methods included from Common
#<=>, #==, #etag, #freeze, #frozen?, #ldp_source, #readonly!, #readonly?
Methods included from ActiveFedora::AttributeAssignment
#assign_attributes, #attributes=
Instance Method Details
#as_list ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/active_fedora/aggregation/proxy.rb', line 10 def as_list if self.next [self] + self.next.as_list else [self] end end |