Sha256: 14b6601db73dbeda27d7c3cc8d10d86ab03d51ba87220b55d606c83878e2317e
Contents?: true
Size: 833 Bytes
Versions: 8
Compression:
Stored size: 833 Bytes
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>to_json (Collection)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/oauth_active_resource/collection.rb, line 12</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span> <span class="ruby-keyword kw">return</span> <span class="ruby-node">"[ #{self.map { |obj| obj.to_json }.join(',')} ]"</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
8 entries across 8 versions & 2 rubygems