class Array
Public Instance Methods
to_json()
click to toggle source
# File lib/endpoint_stub.rb, line 93 def to_json '['+map do |e| e.respond_to?(:to_json) ? e.to_json : e.to_s end.join(', ')+']' end
# File lib/endpoint_stub.rb, line 93 def to_json '['+map do |e| e.respond_to?(:to_json) ? e.to_json : e.to_s end.join(', ')+']' end