summaryrefslogtreecommitdiff
path: root/doc/classes/JSON/Ext/Generator/GeneratorMethods/String/Extend.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/JSON/Ext/Generator/GeneratorMethods/String/Extend.html')
-rw-r--r--doc/classes/JSON/Ext/Generator/GeneratorMethods/String/Extend.html108
1 files changed, 108 insertions, 0 deletions
diff --git a/doc/classes/JSON/Ext/Generator/GeneratorMethods/String/Extend.html b/doc/classes/JSON/Ext/Generator/GeneratorMethods/String/Extend.html
new file mode 100644
index 0000000..7fe6ae4
--- /dev/null
+++ b/doc/classes/JSON/Ext/Generator/GeneratorMethods/String/Extend.html
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>JSON::Ext::Generator::GeneratorMethods::String::Extend</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="../../../../../../css/reset.css" type="text/css" media="screen" />
+ <link rel="stylesheet" href="../../../../../../css/main.css" type="text/css" media="screen" />
+ <script src="../../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+</head>
+
+<body>
+ <div class="banner">
+ <h1>
+ <span class="type">Module</span>
+ JSON::Ext::Generator::GeneratorMethods::String::Extend
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../../../../files/ext/json/ext/generator/generator_c.html">ext/json/ext/generator/generator.c</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>J</dt>
+ <dd>
+ <ul>
+
+ <li><a href="#method-i-json_create">json_create</a></li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title" id="method-i-json_create">
+
+ <a name="method-i-json_create"></a><b> json_create(o)
+</b>
+
+ </div>
+
+ <div class="description">
+ <p>
+Raw Strings are <a href="../../../../../JSON.html">JSON</a> Objects (the
+raw bytes are stored in an array for the key &#8220;raw&#8221;). The Ruby
+<a href="../String.html">String</a> can be created by this module method.
+</p>
+
+ </div>
+
+
+
+
+ <div class="sourcecode">
+ <p class="source-link">
+ Source: <a href="javascript:toggleSource('method-i-json_create_source')" id="l_method-i-json_create_source">show</a>
+
+ </p>
+ <div id="method-i-json_create_source" class="dyn-source">
+ <pre>static VALUE mString_Extend_json_create(VALUE self, VALUE o)
+{
+ VALUE ary;
+ Check_Type(o, T_HASH);
+ ary = rb_hash_aref(o, rb_str_new2(&quot;raw&quot;));
+ return rb_funcall(ary, i_pack, 1, rb_str_new2(&quot;C*&quot;));
+}</pre>
+ </div>
+ </div>
+
+ </div>
+
+</div>
+ </div>
+ </body>
+</html> \ No newline at end of file