Sha256: d0526644f67280e5b93afc771917e8732759c18f26c4af899195dbbd91e54c13

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require 'bun_bo/errors/base_error'

class BunBo
  class FileExisted < BaseError
    def initialize(path)
      @path = path
    end

    def message
      "#{path} exists. No modification is applied for this file."
    end

    private

    attr_reader :path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bun_bo-0.1.4 lib/bun_bo/errors/file_existed.rb