Sha256: 16243b69e3c59aab5954e6ac661faedd5fb17ac35e47d465ae1443595d283d75

Contents?: true

Size: 608 Bytes

Versions: 27

Compression:

Stored size: 608 Bytes

Contents

module Foobara
  module Manifest
    class PossibleError < BaseManifest
      optional_key(:path, default: [])

      def possible_error_manifest
        relevant_manifest
      end

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

      def processor_manifest_data
        self[:processor_manifest_data]
      end

      def manually_added
        self[:manually_added]
      end

      # TODO: this has to die

      # oops, shadowed the convenience method
      def _path
        method_missing(:path)
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
foobara-0.0.7 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.6 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.5 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.4 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.3 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.2 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.1 projects/manifest/src/foobara/manifest/possible_error.rb