class Utils::JSer::JSHash

A JSer class Usage:

JSHash.new({"hello" => "world"}).to_str

Public Class Methods

new(hash) click to toggle source
Calls superclass method Utils::JSer#new
# File lib/ngi/utils/jser.rb, line 28
def initialize(hash)
  super
  hash.each do |key, val|
    self[key] = val
  end
end