Class: Foobara::Manifest::PossibleError

Inherits:
BaseManifest show all
Defined in:
foobara-0.0.110/projects/manifest/src/foobara/manifest/possible_error.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 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

#_pathObject

oops, shadowed the convenience method



25
26
27
# File 'foobara-0.0.110/projects/manifest/src/foobara/manifest/possible_error.rb', line 25

def _path
  method_missing(:path)
end

#errorObject



10
11
12
# File 'foobara-0.0.110/projects/manifest/src/foobara/manifest/possible_error.rb', line 10

def error
  Error.new(root_manifest, [:error, DataPath.value_at([:error], possible_error_manifest)])
end

#manually_addedObject



18
19
20
# File 'foobara-0.0.110/projects/manifest/src/foobara/manifest/possible_error.rb', line 18

def manually_added
  self[:manually_added]
end

#possible_error_manifestObject



6
7
8
# File 'foobara-0.0.110/projects/manifest/src/foobara/manifest/possible_error.rb', line 6

def possible_error_manifest
  relevant_manifest
end

#processor_manifest_dataObject



14
15
16
# File 'foobara-0.0.110/projects/manifest/src/foobara/manifest/possible_error.rb', line 14

def processor_manifest_data
  self[:processor_manifest_data]
end