Sha256: d80b25e4648605f6cf43d694759b8656c5dec7a34e7ba278f3f3aebfdd30e1d2

Contents?: true

Size: 563 Bytes

Versions: 4

Compression:

Stored size: 563 Bytes

Contents

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

module Handle
  HOME = ENV['HDL_HOME'] || File.expand_path('../../vendor/handle',__FILE__)

  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

4 entries across 4 versions & 1 rubygems

Version Path
handle-system-0.1.1 lib/handle.rb
handle-system-0.1.0 lib/handle.rb
handle-system-0.0.7 lib/handle.rb
handle-system-0.0.6 lib/handle.rb