Sha256: 16243b69e3c59aab5954e6ac661faedd5fb17ac35e47d465ae1443595d283d75

Contents?: true

Size: 608 Bytes

Versions: 26

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

26 entries across 26 versions & 1 rubygems

Version Path
foobara-0.0.26 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.25 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.24 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.23 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.22 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.21 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.20 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.19 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.18 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.17 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.16 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.15 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.14 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.13 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.12 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.11 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.10 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.9 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.8 projects/manifest/src/foobara/manifest/possible_error.rb
foobara-0.0.7 projects/manifest/src/foobara/manifest/possible_error.rb