Sha256: b0a557a74e561d23eaa717eee83965904d0ef131677a200f676d3ec2247dcbc6

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

module IronNails

  module Errors

    class IronNailsError < StandardError


    end

    class ContractError < IronNails::Errors::IronNailsError

      def initialize(method)
        super "#{method} needs to be overridden in an implementing class"
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ironnails-0.0.3 lib/ironnails/errors.rb
ironnails-0.0.1 lib/ironnails/errors.rb