Class: Foobara::Manifest::Array

Inherits:
TypeDeclaration show all
Defined in:
foobara-0.0.110/projects/manifest/src/foobara/manifest/array.rb

Constant Summary

Constants included from TruncatedInspect

TruncatedInspect::MAX_LENGTH

Instance Attribute Summary

Attributes inherited from BaseManifest

#path, #root_manifest

Instance Method Summary collapse

Methods inherited from TypeDeclaration

#allows_nil?, #array?, #attribute?, #attribute_name, #attributes?, #custom?, #default, #detached_entity?, #entity?, #model?, new, #parent_attributes, #required?, #sensitive?, #to_detached_entity, #to_entity, #to_model, #to_type, #type_declaration_manifest

Methods inherited from BaseManifest

#==, #[], category_to_manifest_class, #domain, #eql?, #find_type, #global_domain, #global_organization, #hash, #initialize, #key?, #method_missing, optional_key, #optional_key?, optional_key_defaults, optional_keys, #organization, #parent, #parent_category, #parent_name, #relevant_manifest, #respond_to_missing?, #scoped_category

Methods included from TruncatedInspect

#inspect, truncating

Constructor Details

This class inherits a constructor from Foobara::Manifest::BaseManifest

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Foobara::Manifest::BaseManifest

Instance Method Details

#element_typeObject



8
9
10
# File 'foobara-0.0.110/projects/manifest/src/foobara/manifest/array.rb', line 8

def element_type
  @element_type ||= TypeDeclaration.new(root_manifest, [*path, :element_type_declaration])
end