Class: JSer::JSArray

Inherits:
Array
  • Object
show all
Includes:
JSer
Defined in:
lib/ngi/utils/jser.rb

Overview

Another JSer class Usage:

JSArray.new(["some","array"]).to_str

Instance Method Summary collapse

Methods included from JSer

#to_str

Constructor Details

#initialize(array) ⇒ JSArray

Returns a new instance of JSArray.



40
41
42
# File 'lib/ngi/utils/jser.rb', line 40

def initialize(array)
  super
end