summaryrefslogtreecommitdiff
path: root/doc/classes/JSON/Ext/Generator/State.src/M000119.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/JSON/Ext/Generator/State.src/M000119.html')
-rw-r--r--doc/classes/JSON/Ext/Generator/State.src/M000119.html34
1 files changed, 0 insertions, 34 deletions
diff --git a/doc/classes/JSON/Ext/Generator/State.src/M000119.html b/doc/classes/JSON/Ext/Generator/State.src/M000119.html
deleted file mode 100644
index 2f909e0..0000000
--- a/doc/classes/JSON/Ext/Generator/State.src/M000119.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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>from_state (JSON::Ext::Generator::State)</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>/*
- * call-seq: from_state(opts)
- *
- * Creates a State object from _opts_, which ought to be Hash to create a
- * new State instance configured by _opts_, something else to create an
- * unconfigured instance. If _opts_ is a State object, it is just returned.
- */
-static VALUE cState_from_state_s(VALUE self, VALUE opts)
-{
- if (rb_obj_is_kind_of(opts, self)) {
- return opts;
- } else if (rb_obj_is_kind_of(opts, rb_cHash)) {
- return rb_funcall(self, i_new, 1, opts);
- } else {
- if (NIL_P(CJSON_SAFE_STATE_PROTOTYPE)) {
- CJSON_SAFE_STATE_PROTOTYPE = rb_const_get(mJSON, rb_intern(&quot;SAFE_STATE_PROTOTYPE&quot;));
- }
- return CJSON_SAFE_STATE_PROTOTYPE;
- }
-}</pre>
-</body>
-</html> \ No newline at end of file