Sha256: 4629fe73e2d33c93da9efdfab18b18f7b2a8d2a870f2e3ec8291c67b5c889086

Contents?: true

Size: 587 Bytes

Versions: 26

Compression:

Stored size: 587 Bytes

Contents

module Foobara
  module Manifest
    class Error < BaseManifest
      self.category_symbol = :error

      def error_manifest
        relevant_manifest
      end

      def symbol
        super.to_sym
      end

      def error_name
        scoped_name
      end

      def full_error_name
        scoped_full_name
      end

      def abstract
        self[:abstract]
      end

      def types_depended_on
        @types_depended_on ||= self[:types_depended_on].map do |type_reference|
          Type.new(root_manifest, [:type, type_reference])
        end
      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/error.rb
foobara-0.0.25 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.24 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.23 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.22 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.21 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.20 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.19 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.18 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.17 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.16 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.15 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.14 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.13 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.12 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.11 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.10 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.9 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.8 projects/manifest/src/foobara/manifest/error.rb
foobara-0.0.7 projects/manifest/src/foobara/manifest/error.rb