Sha256: fca8c748427e34a8a499f3b298c4b455049c3377d006cf15aba974d896aeb936

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

module GitTrip

  # Holds Errors (Exceptions) specific to GitTrip.
  module Errors
    %w{
      DirNotFound
      InvalidFormat
      InvalidGitHubTag
      InvalidGitRepo
      InvalidMode
      InvalidPicture
      InvalidSHA
      InvalidStyle
      InvalidURI
      NoCommits
      NoPicture
      RTFM
    }.each do |problem|
      eval("class #{problem} < Exception; end")
    end
  end # of Errors

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-trip-0.0.5 lib/git-trip/errors.rb