Sha256: 4f40f392df3d51520d90b0ddf1221a281829ceb8d8968017bd79dd3a533c3ed9

Contents?: true

Size: 201 Bytes

Versions: 4

Compression:

Stored size: 201 Bytes

Contents

module Rainforest
  class RainforestError < StandardError
    attr_reader :message

    def initialize(message=nil)
      @message = message
    end

    def to_s
      "#{@message}"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rainforest-2.1.0 lib/rainforest/errors/rainforest_error.rb
rainforest-2.0.2 lib/rainforest/errors/rainforest_error.rb
rainforest-2.0.1 lib/rainforest/errors/rainforest_error.rb
rainforest-2.0.0 lib/rainforest/errors/rainforest_error.rb