Sha256: 3f64c3c7c6b25bd5a1cef647744789f7704fa0f79eb1bb0c180a9962f6407ba5

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

require "handle/permissions"
require "handle/record"
require "handle/field"
require "handle/field/admin"

module Handle
  persistence_module = Module.const_defined?('JRuby') ? 'java' : 'command'
  require "handle/#{persistence_module}"
  Record.send(:include, Handle::Persistence)
  class HandleError < Exception
    def initialize msg=nil
      unless msg.nil?
        msg = msg[0] + msg[1..-1].downcase
      end
      super msg
    end
  end
  class NotFound < HandleError; end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
handle-system-0.0.5 lib/handle.rb
handle-system-0.0.4 lib/handle.rb
handle-system-0.0.3 lib/handle.rb