Class: SonJay::ValueArray
- Inherits:
-
Array
- Object
- Array
- SonJay::ValueArray
show all
- Includes:
- ActsAsModel
- Defined in:
- lib/son_jay/value_array.rb
Instance Method Summary
collapse
included, #inspect, #sonj_content, #to_s
Instance Method Details
#model_content ⇒ Object
5
6
7
|
# File 'lib/son_jay/value_array.rb', line 5
def model_content
self
end
|
#to_json(options = ::JSON::State.new) ⇒ Object
9
10
11
12
|
# File 'lib/son_jay/value_array.rb', line 9
def to_json(options = ::JSON::State.new)
options = ::JSON::State.new(options) unless options.kind_of?(::JSON::State)
super options
end
|