Sha256: 07ceb584365dd6562672f685cbdfeaa6d896d5579c8730c140d28092af2ac1b0

Contents?: true

Size: 607 Bytes

Versions: 11

Compression:

Stored size: 607 Bytes

Contents

# Namespace for all the exceptions
module Nifty::Errors
  require File.join(File.dirname(__FILE__), 'errors', 'standard_error')
  require File.join(File.dirname(__FILE__), 'errors', 'argument_error')
  require File.join(File.dirname(__FILE__), 'errors', 'event')
  require File.join(File.dirname(__FILE__), 'errors', 'backends')
  require File.join(File.dirname(__FILE__), 'errors', 'transfer_methods')
  require File.join(File.dirname(__FILE__), 'errors', 'events')
  Dir.glob(File.join(File.dirname(__FILE__), self.name.demodulize.underscore, '*.rb')) { |error_file| require error_file.chomp('.rb') }
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
nifty-0.2.12 lib/nifty/errors.rb
nifty-0.2.11 lib/nifty/errors.rb
nifty-0.2.10 lib/nifty/errors.rb
nifty-0.2.9 lib/nifty/errors.rb
nifty-0.2.8 lib/nifty/errors.rb
nifty-0.2.7 lib/nifty/errors.rb
nifty-0.2.6 lib/nifty/errors.rb
nifty-0.2.5 lib/nifty/errors.rb
nifty-0.2.4 lib/nifty/errors.rb
nifty-0.2.3 lib/nifty/errors.rb
nifty-0.2.2 lib/nifty/errors.rb