Class: Utils::JSer::JSArray

Inherits:
Array
  • Object
show all
Includes:
Utils::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 Utils::JSer

new, #to_str

Constructor Details

#initialize(array) ⇒ JSArray

Returns a new instance of JSArray.



42
43
44
# File 'lib/ngi/utils/jser.rb', line 42

def initialize(array)
  super
end