prismic.io 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/Prismic/API/BadPrismicResponseError.html +44 -43
- data/docs/Prismic/API/OAuth.html +99 -98
- data/docs/Prismic/API/PrismicWSAuthError.html +67 -66
- data/docs/Prismic/API/PrismicWSConnectionError.html +51 -50
- data/docs/Prismic/API.html +434 -280
- data/docs/Prismic/BasicNullCache.html +49 -48
- data/docs/Prismic/DefaultHTTPClient.html +85 -79
- data/docs/Prismic/Document.html +279 -83
- data/docs/Prismic/Error.html +52 -51
- data/docs/Prismic/Experiment.html +60 -59
- data/docs/Prismic/Experiments.html +61 -60
- data/docs/Prismic/Field.html +54 -53
- data/docs/Prismic/Form.html +70 -69
- data/docs/Prismic/Fragments/Color.html +60 -59
- data/docs/Prismic/Fragments/Date.html +52 -51
- data/docs/Prismic/Fragments/DocumentLink.html +78 -76
- data/docs/Prismic/Fragments/Embed.html +60 -59
- data/docs/Prismic/Fragments/FileLink.html +58 -57
- data/docs/Prismic/Fragments/Fragment.html +49 -48
- data/docs/Prismic/Fragments/GeoPoint.html +54 -53
- data/docs/Prismic/Fragments/Group.html +65 -63
- data/docs/Prismic/Fragments/GroupDocument.html +57 -55
- data/docs/Prismic/Fragments/Image/View.html +64 -63
- data/docs/Prismic/Fragments/Image/ViewDoesNotExistException.html +44 -43
- data/docs/Prismic/Fragments/Image.html +69 -68
- data/docs/Prismic/Fragments/ImageLink.html +50 -49
- data/docs/Prismic/Fragments/Link.html +53 -52
- data/docs/Prismic/Fragments/Multiple.html +58 -57
- data/docs/Prismic/Fragments/Number.html +54 -53
- data/docs/Prismic/Fragments/Select.html +52 -51
- data/docs/Prismic/Fragments/Separator.html +54 -53
- data/docs/Prismic/Fragments/Slice.html +58 -57
- data/docs/Prismic/Fragments/SliceZone.html +54 -53
- data/docs/Prismic/Fragments/StructuredText/Block/Embed.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Block/Heading.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Block/Image.html +66 -65
- data/docs/Prismic/Fragments/StructuredText/Block/ListItem.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Block/Paragraph.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Block/Preformatted.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Block/Text.html +68 -64
- data/docs/Prismic/Fragments/StructuredText/Block.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/BlockGroup.html +54 -53
- data/docs/Prismic/Fragments/StructuredText/Span/Em.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Span/Hyperlink.html +53 -52
- data/docs/Prismic/Fragments/StructuredText/Span/Label.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Span/Strong.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Span.html +52 -51
- data/docs/Prismic/Fragments/StructuredText.html +59 -58
- data/docs/Prismic/Fragments/Text.html +54 -53
- data/docs/Prismic/Fragments/Timestamp.html +52 -51
- data/docs/Prismic/Fragments/WebLink.html +50 -49
- data/docs/Prismic/Fragments.html +39 -39
- data/docs/Prismic/HtmlSerializer.html +57 -56
- data/docs/Prismic/JsonParser.html +145 -143
- data/docs/Prismic/LinkResolver.html +73 -72
- data/docs/Prismic/LruCache.html +70 -69
- data/docs/Prismic/Predicates.html +261 -209
- data/docs/Prismic/Ref.html +86 -85
- data/docs/Prismic/Response.html +75 -73
- data/docs/Prismic/SearchForm/AuthenticationException.html +44 -43
- data/docs/Prismic/SearchForm/AuthorizationException.html +44 -43
- data/docs/Prismic/SearchForm/FormSearchException.html +44 -43
- data/docs/Prismic/SearchForm/NoRefSetException.html +44 -43
- data/docs/Prismic/SearchForm/RefNotFoundException.html +44 -43
- data/docs/Prismic/SearchForm/UnsupportedFormKind.html +44 -43
- data/docs/Prismic/SearchForm.html +97 -96
- data/docs/Prismic/Variation.html +57 -56
- data/docs/Prismic/WithFragments.html +115 -113
- data/docs/Prismic.html +91 -93
- data/docs/_index.html +32 -35
- data/docs/class_list.html +24 -27
- data/docs/css/full_list.css +32 -31
- data/docs/css/style.css +244 -91
- data/docs/file.README.html +39 -74
- data/docs/file_list.html +26 -26
- data/docs/frames.html +7 -16
- data/docs/index.html +39 -74
- data/docs/js/app.js +101 -77
- data/docs/js/full_list.js +170 -132
- data/docs/method_list.html +1995 -1189
- data/docs/top-level-namespace.html +34 -36
- data/lib/prismic/api.rb +10 -1
- data/lib/prismic/fragments/link.rb +3 -2
- data/lib/prismic/json_parsers.rb +14 -0
- data/lib/prismic/version.rb +1 -1
- data/lib/prismic.rb +47 -5
- data/spec/cache_spec.rb +2 -2
- data/spec/fragments_spec.rb +8 -1
- data/spec/json_parsers_spec.rb +13 -1
- data/spec/prismic_spec.rb +14 -7
- data/spec/responses_mocks/document.json +13 -0
- data/spec/simple_search_spec.rb +9 -0
- metadata +2 -2
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Prismic::Fragments::StructuredText
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8
|
9
|
+
— Documentation by YARD 0.9.8
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Prismic::Fragments::StructuredText";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Prismic/Fragments/StructuredText.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (S)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Prismic.html" title="Prismic (module)">Prismic</a></span></span> » <span class='title'><span class='object_link'><a href="../Fragments.html" title="Prismic::Fragments (module)">Fragments</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">StructuredText</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Prismic::Fragments::StructuredText
|
62
|
+
<div id="content"><h1>Class: Prismic::Fragments::StructuredText
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName"><span class='object_link'><a href="Fragment.html" title="Prismic::Fragments::Fragment (class)">Fragment</a></span></span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -85,21 +81,25 @@
|
|
85
81
|
</ul>
|
86
82
|
<a href="#" class="inheritanceTree">show all</a>
|
87
83
|
|
88
|
-
|
89
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
90
88
|
|
91
89
|
|
92
|
-
|
93
90
|
|
94
|
-
|
95
91
|
|
96
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
97
96
|
|
98
|
-
|
99
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/prismic/fragments/structured_text.rb</dd>
|
100
|
+
</dl>
|
100
101
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
103
103
|
|
104
104
|
<h2>Defined Under Namespace</h2>
|
105
105
|
<p class="children">
|
@@ -115,13 +115,13 @@
|
|
115
115
|
|
116
116
|
|
117
117
|
|
118
|
-
<h2>Instance Attribute Summary <small
|
118
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
119
119
|
<ul class="summary">
|
120
120
|
|
121
121
|
<li class="public ">
|
122
122
|
<span class="summary_signature">
|
123
123
|
|
124
|
-
<a href="#blocks-instance_method" title="#blocks (instance method)"
|
124
|
+
<a href="#blocks-instance_method" title="#blocks (instance method)">#<strong>blocks</strong> ⇒ Object </a>
|
125
125
|
|
126
126
|
|
127
127
|
|
@@ -152,7 +152,7 @@
|
|
152
152
|
|
153
153
|
<h2>
|
154
154
|
Instance Method Summary
|
155
|
-
<small
|
155
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
156
156
|
</h2>
|
157
157
|
|
158
158
|
<ul class="summary">
|
@@ -160,7 +160,7 @@
|
|
160
160
|
<li class="public ">
|
161
161
|
<span class="summary_signature">
|
162
162
|
|
163
|
-
<a href="#as_html-instance_method" title="#as_html (instance method)"
|
163
|
+
<a href="#as_html-instance_method" title="#as_html (instance method)">#<strong>as_html</strong>(link_resolver, html_serializer = nil) ⇒ String </a>
|
164
164
|
|
165
165
|
|
166
166
|
|
@@ -183,7 +183,7 @@
|
|
183
183
|
<li class="public ">
|
184
184
|
<span class="summary_signature">
|
185
185
|
|
186
|
-
<a href="#as_text-instance_method" title="#as_text (instance method)"
|
186
|
+
<a href="#as_text-instance_method" title="#as_text (instance method)">#<strong>as_text</strong>(separator = ' ') ⇒ String </a>
|
187
187
|
|
188
188
|
|
189
189
|
|
@@ -206,7 +206,7 @@
|
|
206
206
|
<li class="public ">
|
207
207
|
<span class="summary_signature">
|
208
208
|
|
209
|
-
<a href="#first_title-instance_method" title="#first_title (instance method)"
|
209
|
+
<a href="#first_title-instance_method" title="#first_title (instance method)">#<strong>first_title</strong> ⇒ Object </a>
|
210
210
|
|
211
211
|
|
212
212
|
|
@@ -229,7 +229,7 @@
|
|
229
229
|
<li class="public ">
|
230
230
|
<span class="summary_signature">
|
231
231
|
|
232
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
232
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(blocks) ⇒ StructuredText </a>
|
233
233
|
|
234
234
|
|
235
235
|
|
@@ -266,7 +266,7 @@
|
|
266
266
|
<div class="method_details first">
|
267
267
|
<h3 class="signature first" id="initialize-instance_method">
|
268
268
|
|
269
|
-
|
269
|
+
#<strong>initialize</strong>(blocks) ⇒ <tt><span class='object_link'><a href="" title="Prismic::Fragments::StructuredText (class)">StructuredText</a></span></tt>
|
270
270
|
|
271
271
|
|
272
272
|
|
@@ -313,7 +313,7 @@
|
|
313
313
|
<div class="method_details first">
|
314
314
|
<h3 class="signature first" id="blocks-instance_method">
|
315
315
|
|
316
|
-
|
316
|
+
#<strong>blocks</strong> ⇒ <tt>Object</tt>
|
317
317
|
|
318
318
|
|
319
319
|
|
@@ -360,7 +360,7 @@
|
|
360
360
|
<div class="method_details first">
|
361
361
|
<h3 class="signature first" id="as_html-instance_method">
|
362
362
|
|
363
|
-
|
363
|
+
#<strong>as_html</strong>(link_resolver, html_serializer = nil) ⇒ <tt>String</tt>
|
364
364
|
|
365
365
|
|
366
366
|
|
@@ -476,7 +476,7 @@ for instance).</p>
|
|
476
476
|
<span class='comment'># Defining blocks that deserve grouping, assigning them "group kind" names
|
477
477
|
</span> <span class='id identifier rubyid_block_group'>block_group</span> <span class='op'>=</span> <span class='tlambda'>-></span><span class='lparen'>(</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span><span class='tlambeg'>{</span>
|
478
478
|
<span class='kw'>case</span> <span class='id identifier rubyid_block'>block</span>
|
479
|
-
<span class='kw'>when</span> <span class='const'>Block</span><span class='op'>::</span><span class='const'>ListItem</span>
|
479
|
+
<span class='kw'>when</span> <span class='const'><span class='object_link'><a href="StructuredText/Block.html" title="Prismic::Fragments::StructuredText::Block (class)">Block</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="StructuredText/Block/ListItem.html" title="Prismic::Fragments::StructuredText::Block::ListItem (class)">ListItem</a></span></span>
|
480
480
|
<span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_ordered?'>ordered?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>ol</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>ul</span><span class='tstring_end'>"</span></span>
|
481
481
|
<span class='kw'>else</span>
|
482
482
|
<span class='kw'>nil</span>
|
@@ -486,7 +486,7 @@ for instance).</p>
|
|
486
486
|
</span> <span class='id identifier rubyid_groups'>groups</span><span class='comma'>,</span> <span class='id identifier rubyid_last'>last</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
487
487
|
<span class='id identifier rubyid_blocks'>blocks</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_block'>block</span><span class='op'>|</span>
|
488
488
|
<span class='id identifier rubyid_group'>group</span> <span class='op'>=</span> <span class='id identifier rubyid_block_group'>block_group</span><span class='period'>.</span><span class='lparen'>(</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
489
|
-
<span class='id identifier rubyid_groups'>groups</span> <span class='op'><<</span> <span class='const'>BlockGroup</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_group'>group</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_last'>last</span> <span class='op'>||</span> <span class='id identifier rubyid_group'>group</span> <span class='op'>!=</span> <span class='id identifier rubyid_last'>last</span>
|
489
|
+
<span class='id identifier rubyid_groups'>groups</span> <span class='op'><<</span> <span class='const'><span class='object_link'><a href="StructuredText/BlockGroup.html" title="Prismic::Fragments::StructuredText::BlockGroup (class)">BlockGroup</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="StructuredText/BlockGroup.html#initialize-instance_method" title="Prismic::Fragments::StructuredText::BlockGroup#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_group'>group</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_last'>last</span> <span class='op'>||</span> <span class='id identifier rubyid_group'>group</span> <span class='op'>!=</span> <span class='id identifier rubyid_last'>last</span>
|
490
490
|
<span class='id identifier rubyid_groups'>groups</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span> <span class='op'><<</span> <span class='id identifier rubyid_block'>block</span>
|
491
491
|
<span class='id identifier rubyid_last'>last</span> <span class='op'>=</span> <span class='id identifier rubyid_group'>group</span>
|
492
492
|
<span class='rbrace'>}</span>
|
@@ -514,7 +514,7 @@ for instance).</p>
|
|
514
514
|
<div class="method_details ">
|
515
515
|
<h3 class="signature " id="as_text-instance_method">
|
516
516
|
|
517
|
-
|
517
|
+
#<strong>as_text</strong>(separator = ' ') ⇒ <tt>String</tt>
|
518
518
|
|
519
519
|
|
520
520
|
|
@@ -593,7 +593,7 @@ Non-textual blocks (like images and embeds) are simply ignored.</p>
|
|
593
593
|
<div class="method_details ">
|
594
594
|
<h3 class="signature " id="first_title-instance_method">
|
595
595
|
|
596
|
-
|
596
|
+
#<strong>first_title</strong> ⇒ <tt>Object</tt>
|
597
597
|
|
598
598
|
|
599
599
|
|
@@ -636,7 +636,7 @@ Non-textual blocks (like images and embeds) are simply ignored.</p>
|
|
636
636
|
<span class='id identifier rubyid_max_level'>max_level</span> <span class='op'>=</span> <span class='int'>6</span> <span class='comment'># any title with a higher level kicks the current one out
|
637
637
|
</span> <span class='id identifier rubyid_title'>title</span> <span class='op'>=</span> <span class='kw'>false</span>
|
638
638
|
<span class='ivar'>@blocks</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_block'>block</span><span class='op'>|</span>
|
639
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Prismic</span><span class='op'>::</span><span class='const'>Fragments</span><span class='op'>::</span><span class='const'>StructuredText</span><span class='op'>::</span><span class='const'>Block</span><span class='op'>::</span><span class='const'>Heading</span><span class='rparen'>)</span>
|
639
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../../Prismic.html" title="Prismic (module)">Prismic</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Fragments.html" title="Prismic::Fragments (module)">Fragments</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Prismic::Fragments::StructuredText (class)">StructuredText</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="StructuredText/Block.html" title="Prismic::Fragments::StructuredText::Block (class)">Block</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="StructuredText/Block/Heading.html" title="Prismic::Fragments::StructuredText::Block::Heading (class)">Heading</a></span></span><span class='rparen'>)</span>
|
640
640
|
<span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_level'>level</span> <span class='op'><</span> <span class='id identifier rubyid_max_level'>max_level</span>
|
641
641
|
<span class='id identifier rubyid_title'>title</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span>
|
642
642
|
<span class='id identifier rubyid_max_level'>max_level</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_level'>level</span> <span class='comment'># new maximum
|
@@ -654,11 +654,12 @@ Non-textual blocks (like images and embeds) are simply ignored.</p>
|
|
654
654
|
|
655
655
|
</div>
|
656
656
|
|
657
|
-
|
658
|
-
Generated on
|
657
|
+
<div id="footer">
|
658
|
+
Generated on Mon Jan 16 16:05:10 2017 by
|
659
659
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
660
|
-
0.8
|
660
|
+
0.9.8 (ruby-2.3.1).
|
661
661
|
</div>
|
662
662
|
|
663
|
+
</div>
|
663
664
|
</body>
|
664
665
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Prismic::Fragments::Text
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8
|
9
|
+
— Documentation by YARD 0.9.8
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Prismic::Fragments::Text";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Prismic/Fragments/Text.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (T)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Prismic.html" title="Prismic (module)">Prismic</a></span></span> » <span class='title'><span class='object_link'><a href="../Fragments.html" title="Prismic::Fragments (module)">Fragments</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Text</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Prismic::Fragments::Text
|
62
|
+
<div id="content"><h1>Class: Prismic::Fragments::Text
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName"><span class='object_link'><a href="Fragment.html" title="Prismic::Fragments::Fragment (class)">Fragment</a></span></span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -85,33 +81,37 @@
|
|
85
81
|
</ul>
|
86
82
|
<a href="#" class="inheritanceTree">show all</a>
|
87
83
|
|
88
|
-
|
89
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
90
88
|
|
91
89
|
|
92
|
-
|
93
90
|
|
94
|
-
|
95
91
|
|
96
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
97
96
|
|
98
|
-
|
99
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/prismic/fragments/text.rb</dd>
|
100
|
+
</dl>
|
100
101
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
103
103
|
|
104
104
|
|
105
105
|
|
106
106
|
|
107
107
|
|
108
|
-
<h2>Instance Attribute Summary <small
|
108
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
109
109
|
<ul class="summary">
|
110
110
|
|
111
111
|
<li class="public ">
|
112
112
|
<span class="summary_signature">
|
113
113
|
|
114
|
-
<a href="#value-instance_method" title="#value (instance method)"
|
114
|
+
<a href="#value-instance_method" title="#value (instance method)">#<strong>value</strong> ⇒ Object </a>
|
115
115
|
|
116
116
|
|
117
117
|
|
@@ -142,7 +142,7 @@
|
|
142
142
|
|
143
143
|
<h2>
|
144
144
|
Instance Method Summary
|
145
|
-
<small
|
145
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
146
146
|
</h2>
|
147
147
|
|
148
148
|
<ul class="summary">
|
@@ -150,7 +150,7 @@
|
|
150
150
|
<li class="public ">
|
151
151
|
<span class="summary_signature">
|
152
152
|
|
153
|
-
<a href="#as_html-instance_method" title="#as_html (instance method)"
|
153
|
+
<a href="#as_html-instance_method" title="#as_html (instance method)">#<strong>as_html</strong>(link_resolver = nil) ⇒ Object </a>
|
154
154
|
|
155
155
|
|
156
156
|
|
@@ -172,7 +172,7 @@
|
|
172
172
|
<li class="public ">
|
173
173
|
<span class="summary_signature">
|
174
174
|
|
175
|
-
<a href="#as_text-instance_method" title="#as_text (instance method)"
|
175
|
+
<a href="#as_text-instance_method" title="#as_text (instance method)">#<strong>as_text</strong> ⇒ Object </a>
|
176
176
|
|
177
177
|
|
178
178
|
|
@@ -194,7 +194,7 @@
|
|
194
194
|
<li class="public ">
|
195
195
|
<span class="summary_signature">
|
196
196
|
|
197
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
197
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(value) ⇒ Text </a>
|
198
198
|
|
199
199
|
|
200
200
|
|
@@ -231,7 +231,7 @@
|
|
231
231
|
<div class="method_details first">
|
232
232
|
<h3 class="signature first" id="initialize-instance_method">
|
233
233
|
|
234
|
-
|
234
|
+
#<strong>initialize</strong>(value) ⇒ <tt><span class='object_link'><a href="" title="Prismic::Fragments::Text (class)">Text</a></span></tt>
|
235
235
|
|
236
236
|
|
237
237
|
|
@@ -278,7 +278,7 @@
|
|
278
278
|
<div class="method_details first">
|
279
279
|
<h3 class="signature first" id="value-instance_method">
|
280
280
|
|
281
|
-
|
281
|
+
#<strong>value</strong> ⇒ <tt>Object</tt>
|
282
282
|
|
283
283
|
|
284
284
|
|
@@ -325,7 +325,7 @@
|
|
325
325
|
<div class="method_details first">
|
326
326
|
<h3 class="signature first" id="as_html-instance_method">
|
327
327
|
|
328
|
-
|
328
|
+
#<strong>as_html</strong>(link_resolver = nil) ⇒ <tt>Object</tt>
|
329
329
|
|
330
330
|
|
331
331
|
|
@@ -355,7 +355,7 @@
|
|
355
355
|
<div class="method_details ">
|
356
356
|
<h3 class="signature " id="as_text-instance_method">
|
357
357
|
|
358
|
-
|
358
|
+
#<strong>as_text</strong> ⇒ <tt>Object</tt>
|
359
359
|
|
360
360
|
|
361
361
|
|
@@ -386,11 +386,12 @@
|
|
386
386
|
|
387
387
|
</div>
|
388
388
|
|
389
|
-
|
390
|
-
Generated on
|
389
|
+
<div id="footer">
|
390
|
+
Generated on Mon Jan 16 16:05:10 2017 by
|
391
391
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
392
|
-
0.8
|
392
|
+
0.9.8 (ruby-2.3.1).
|
393
393
|
</div>
|
394
394
|
|
395
|
+
</div>
|
395
396
|
</body>
|
396
397
|
</html>
|