Sha256: e6a7e9eaf0eb93e18b48aecd9e010cc824699ea60876503c11a38435ffcd8891

Contents?: true

Size: 672 Bytes

Versions: 11

Compression:

Stored size: 672 Bytes

Contents

unless defined? $__rq_orderedautohash__
  module RQ 
#--{{{
    LIBDIR = File::dirname(File::expand_path(__FILE__)) + File::SEPARATOR unless
      defined? LIBDIR

    require LIBDIR + 'orderedhash'

#if false
    class ::OrderedHash
#--{{{
      def initialize(*a, &b)
#--{{{
        super
        @order = []
#--}}}
      end
#--}}}
    end
#end

    class OrderedAutoHash < ::OrderedHash
#--{{{
      def initialize(*args)
#--{{{
        super(*args){|a,k| a[k] = OrderedAutoHash::new(*args)}
#--}}}
      end
      def class
#--{{{
        ::Hash
#--}}}
      end
#--}}}
    end # class OrderedAutoHash
#--}}}
  end # module RQ
$__rq_orderedautohash__ = __FILE__ 
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
rq-3.5.3 lib/rq/orderedautohash.rb
rq-3.5.1 lib/rq/orderedautohash.rb
rq-3.5.0 lib/rq/orderedautohash.rb
rq-ruby1.8-3.4.7 lib/rq/orderedautohash.rb
rq-ruby1.8-3.4.6 lib/rq/orderedautohash.rb
rq-ruby1.8-3.4.5 lib/rq/orderedautohash.rb
rq-ruby1.8-3.4.3 lib/rq/orderedautohash.rb
rq-3.0.0 lib/rq-3.0.0/orderedautohash.rb
rq-3.1.0 lib/rq-3.1.0/orderedautohash.rb
rq-3.4.0 lib/rq/orderedautohash.rb
rq-3.3.0 lib/rq/orderedautohash.rb