lib/reterm/loader.rb
# Initialie new loader from JSON string
Initialie new loader from JSON string
Initialie new loader from JSON string
def prep_init(init)
      raise ArgumentError unless init.is_a?(Hash)
      init = Hash[init] 
      init.keys.each { |k|
        init[k.intern] = init[k] 
        init.delete(k)
      }
      init
    end
def prep_init ( init ) raise ArgumentError unless init . is_a? ( Hash ) init = Hash [ init ] init . keys . each { | k | init [ k . intern ] = init [ k ] init . delete ( k ) } init end
Initialie new loader from JSON string
Initialie new loader from JSON string
# make copy # XXX unsafe intern
init
<not_specific>