rich_text_renderer 0.1.0 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/rich_text_renderer/block_renderers/asset_block_renderer.rb +27 -0
  5. data/lib/rich_text_renderer/block_renderers/asset_hyperlink_renderer.rb +64 -0
  6. data/lib/rich_text_renderer/block_renderers/blockquote_renderer.rb +1 -1
  7. data/lib/rich_text_renderer/block_renderers/entry_block_renderer.rb +1 -1
  8. data/lib/rich_text_renderer/block_renderers.rb +2 -0
  9. data/lib/rich_text_renderer/renderer.rb +2 -0
  10. data/lib/rich_text_renderer/text_renderers/text_renderer.rb +2 -0
  11. data/lib/rich_text_renderer/version.rb +1 -1
  12. metadata +9 -165
  13. data/.gitignore +0 -7
  14. data/.rspec +0 -1
  15. data/.rubocop.yml +0 -27
  16. data/.rubocop_todo.yml +0 -35
  17. data/.travis.yml +0 -13
  18. data/.yardopts +0 -4
  19. data/Gemfile +0 -3
  20. data/Gemfile.lock +0 -110
  21. data/Guardfile +0 -24
  22. data/Rakefile +0 -33
  23. data/coverage/.last_run.json +0 -5
  24. data/coverage/.resultset.json +0 -1372
  25. data/coverage/.resultset.json.lock +0 -0
  26. data/coverage/assets/0.10.2/application.css +0 -799
  27. data/coverage/assets/0.10.2/application.js +0 -1707
  28. data/coverage/assets/0.10.2/colorbox/border.png +0 -0
  29. data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
  30. data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
  31. data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
  32. data/coverage/assets/0.10.2/favicon_green.png +0 -0
  33. data/coverage/assets/0.10.2/favicon_red.png +0 -0
  34. data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
  35. data/coverage/assets/0.10.2/loading.gif +0 -0
  36. data/coverage/assets/0.10.2/magnify.png +0 -0
  37. data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  38. data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  39. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  40. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  41. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  42. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  43. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  44. data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  45. data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
  46. data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  47. data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
  48. data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
  49. data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  50. data/coverage/index.html +0 -9146
  51. data/doc/RichTextRenderer/BaseBlockRenderer.html +0 -242
  52. data/doc/RichTextRenderer/BaseInlineRenderer.html +0 -242
  53. data/doc/RichTextRenderer/BaseNodeRenderer.html +0 -300
  54. data/doc/RichTextRenderer/BlockQuoteRenderer.html +0 -169
  55. data/doc/RichTextRenderer/BoldRenderer.html +0 -169
  56. data/doc/RichTextRenderer/CodeRenderer.html +0 -169
  57. data/doc/RichTextRenderer/DocumentRenderer.html +0 -242
  58. data/doc/RichTextRenderer/EntryBlockRenderer.html +0 -239
  59. data/doc/RichTextRenderer/HeadingFiveRenderer.html +0 -169
  60. data/doc/RichTextRenderer/HeadingFourRenderer.html +0 -169
  61. data/doc/RichTextRenderer/HeadingOneRenderer.html +0 -169
  62. data/doc/RichTextRenderer/HeadingSixRenderer.html +0 -169
  63. data/doc/RichTextRenderer/HeadingThreeRenderer.html +0 -169
  64. data/doc/RichTextRenderer/HeadingTwoRenderer.html +0 -169
  65. data/doc/RichTextRenderer/HrRenderer.html +0 -238
  66. data/doc/RichTextRenderer/HyperlinkRenderer.html +0 -246
  67. data/doc/RichTextRenderer/ItalicRenderer.html +0 -169
  68. data/doc/RichTextRenderer/ListItemRenderer.html +0 -169
  69. data/doc/RichTextRenderer/NullRenderer.html +0 -238
  70. data/doc/RichTextRenderer/OrderedListRenderer.html +0 -169
  71. data/doc/RichTextRenderer/ParagraphRenderer.html +0 -169
  72. data/doc/RichTextRenderer/Renderer.html +0 -349
  73. data/doc/RichTextRenderer/TextRenderer.html +0 -254
  74. data/doc/RichTextRenderer/UnderlineRenderer.html +0 -169
  75. data/doc/RichTextRenderer/UnorderedListRenderer.html +0 -169
  76. data/doc/RichTextRenderer.html +0 -155
  77. data/doc/StructuredTextRenderer/BaseBlockRenderer.html +0 -242
  78. data/doc/StructuredTextRenderer/BaseInlineRenderer.html +0 -242
  79. data/doc/StructuredTextRenderer/BaseNodeRenderer.html +0 -300
  80. data/doc/StructuredTextRenderer/BoldRenderer.html +0 -169
  81. data/doc/StructuredTextRenderer/CodeRenderer.html +0 -169
  82. data/doc/StructuredTextRenderer/DocumentRenderer.html +0 -242
  83. data/doc/StructuredTextRenderer/EntryBlockRenderer.html +0 -239
  84. data/doc/StructuredTextRenderer/HeadingFiveRenderer.html +0 -169
  85. data/doc/StructuredTextRenderer/HeadingFourRenderer.html +0 -169
  86. data/doc/StructuredTextRenderer/HeadingOneRenderer.html +0 -169
  87. data/doc/StructuredTextRenderer/HeadingSixRenderer.html +0 -169
  88. data/doc/StructuredTextRenderer/HeadingThreeRenderer.html +0 -169
  89. data/doc/StructuredTextRenderer/HeadingTwoRenderer.html +0 -169
  90. data/doc/StructuredTextRenderer/HrRenderer.html +0 -238
  91. data/doc/StructuredTextRenderer/HyperlinkRenderer.html +0 -246
  92. data/doc/StructuredTextRenderer/ItalicRenderer.html +0 -169
  93. data/doc/StructuredTextRenderer/ListItemRenderer.html +0 -169
  94. data/doc/StructuredTextRenderer/NullRenderer.html +0 -238
  95. data/doc/StructuredTextRenderer/OrderedListRenderer.html +0 -169
  96. data/doc/StructuredTextRenderer/ParagraphRenderer.html +0 -169
  97. data/doc/StructuredTextRenderer/QuoteRenderer.html +0 -169
  98. data/doc/StructuredTextRenderer/Renderer.html +0 -349
  99. data/doc/StructuredTextRenderer/TextRenderer.html +0 -254
  100. data/doc/StructuredTextRenderer/UnderlineRenderer.html +0 -169
  101. data/doc/StructuredTextRenderer/UnorderedListRenderer.html +0 -169
  102. data/doc/StructuredTextRenderer.html +0 -155
  103. data/doc/_index.html +0 -387
  104. data/doc/class_list.html +0 -51
  105. data/doc/css/common.css +0 -1
  106. data/doc/css/full_list.css +0 -58
  107. data/doc/css/style.css +0 -496
  108. data/doc/file.CHANGELOG.html +0 -91
  109. data/doc/file.LICENSE.html +0 -70
  110. data/doc/file.README.html +0 -170
  111. data/doc/file_list.html +0 -66
  112. data/doc/frames.html +0 -17
  113. data/doc/index.html +0 -170
  114. data/doc/js/app.js +0 -292
  115. data/doc/js/full_list.js +0 -216
  116. data/doc/js/jquery.js +0 -4
  117. data/doc/method_list.html +0 -147
  118. data/doc/top-level-namespace.html +0 -110
  119. data/rich_text_renderer.gemspec +0 -30
  120. data/spec/lib/rich_text_renderer/block_renderers/base_block_renderer_spec.rb +0 -26
  121. data/spec/lib/rich_text_renderer/block_renderers/blockquote_renderer_spec.rb +0 -25
  122. data/spec/lib/rich_text_renderer/block_renderers/entry_block_renderer_spec.rb +0 -15
  123. data/spec/lib/rich_text_renderer/block_renderers/heading_five_renderer_spec.rb +0 -24
  124. data/spec/lib/rich_text_renderer/block_renderers/heading_four_renderer_spec.rb +0 -24
  125. data/spec/lib/rich_text_renderer/block_renderers/heading_one_renderer_spec.rb +0 -24
  126. data/spec/lib/rich_text_renderer/block_renderers/heading_six_renderer_spec.rb +0 -24
  127. data/spec/lib/rich_text_renderer/block_renderers/heading_three_renderer_spec.rb +0 -24
  128. data/spec/lib/rich_text_renderer/block_renderers/heading_two_renderer_spec.rb +0 -24
  129. data/spec/lib/rich_text_renderer/block_renderers/hr_renderer_spec.rb +0 -13
  130. data/spec/lib/rich_text_renderer/block_renderers/hyperlink_renderer_spec.rb +0 -24
  131. data/spec/lib/rich_text_renderer/block_renderers/list_item_renderer_spec.rb +0 -24
  132. data/spec/lib/rich_text_renderer/block_renderers/ordered_list_renderer_spec.rb +0 -56
  133. data/spec/lib/rich_text_renderer/block_renderers/paragraph_renderer_spec.rb +0 -30
  134. data/spec/lib/rich_text_renderer/block_renderers/unordered_list_renderer_spec.rb +0 -56
  135. data/spec/lib/rich_text_renderer/document_renderers/document_renderer_spec.rb +0 -42
  136. data/spec/lib/rich_text_renderer/null_renderer_spec.rb +0 -19
  137. data/spec/lib/rich_text_renderer/renderer_spec.rb +0 -308
  138. data/spec/lib/rich_text_renderer/text_renderers/base_inline_renderer_spec.rb +0 -11
  139. data/spec/lib/rich_text_renderer/text_renderers/bold_renderer_spec.rb +0 -11
  140. data/spec/lib/rich_text_renderer/text_renderers/code_renderer_spec.rb +0 -11
  141. data/spec/lib/rich_text_renderer/text_renderers/italic_renderer_spec.rb +0 -11
  142. data/spec/lib/rich_text_renderer/text_renderers/text_renderer_spec.rb +0 -53
  143. data/spec/lib/rich_text_renderer/text_renderers/underline_renderer_spec.rb +0 -11
  144. data/spec/spec_helper.rb +0 -82
@@ -1,242 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: RichTextRenderer::BaseBlockRenderer
8
-
9
- &mdash; Documentation by YARD 0.9.16
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "RichTextRenderer::BaseBlockRenderer";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
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">
38
-
39
- <a href="../_index.html">Index (B)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../RichTextRenderer.html" title="RichTextRenderer (module)">RichTextRenderer</a></span></span>
41
- &raquo;
42
- <span class="title">BaseBlockRenderer</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
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>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: RichTextRenderer::BaseBlockRenderer
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName"><span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next"><span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></li>
78
-
79
- <li class="next">RichTextRenderer::BaseBlockRenderer</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/rich_text_renderer/block_renderers/base_block_renderer.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>Base renderer for block type nodes</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div><div id="subclasses">
116
- <h2>Direct Known Subclasses</h2>
117
- <p class="children"><span class='object_link'><a href="BlockQuoteRenderer.html" title="RichTextRenderer::BlockQuoteRenderer (class)">BlockQuoteRenderer</a></span>, <span class='object_link'><a href="HeadingFiveRenderer.html" title="RichTextRenderer::HeadingFiveRenderer (class)">HeadingFiveRenderer</a></span>, <span class='object_link'><a href="HeadingFourRenderer.html" title="RichTextRenderer::HeadingFourRenderer (class)">HeadingFourRenderer</a></span>, <span class='object_link'><a href="HeadingOneRenderer.html" title="RichTextRenderer::HeadingOneRenderer (class)">HeadingOneRenderer</a></span>, <span class='object_link'><a href="HeadingSixRenderer.html" title="RichTextRenderer::HeadingSixRenderer (class)">HeadingSixRenderer</a></span>, <span class='object_link'><a href="HeadingThreeRenderer.html" title="RichTextRenderer::HeadingThreeRenderer (class)">HeadingThreeRenderer</a></span>, <span class='object_link'><a href="HeadingTwoRenderer.html" title="RichTextRenderer::HeadingTwoRenderer (class)">HeadingTwoRenderer</a></span>, <span class='object_link'><a href="HyperlinkRenderer.html" title="RichTextRenderer::HyperlinkRenderer (class)">HyperlinkRenderer</a></span>, <span class='object_link'><a href="ListItemRenderer.html" title="RichTextRenderer::ListItemRenderer (class)">ListItemRenderer</a></span>, <span class='object_link'><a href="OrderedListRenderer.html" title="RichTextRenderer::OrderedListRenderer (class)">OrderedListRenderer</a></span>, <span class='object_link'><a href="ParagraphRenderer.html" title="RichTextRenderer::ParagraphRenderer (class)">ParagraphRenderer</a></span>, <span class='object_link'><a href="UnorderedListRenderer.html" title="RichTextRenderer::UnorderedListRenderer (class)">UnorderedListRenderer</a></span></p>
118
- </div>
119
-
120
-
121
-
122
-
123
-
124
-
125
- <h2>Instance Attribute Summary</h2>
126
-
127
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></h3>
128
- <p class="inherited"><span class='object_link'><a href="BaseNodeRenderer.html#mappings-instance_method" title="RichTextRenderer::BaseNodeRenderer#mappings (method)">#mappings</a></span></p>
129
-
130
-
131
-
132
- <h2>
133
- Instance Method Summary
134
- <small><a href="#" class="summary_toggle">collapse</a></small>
135
- </h2>
136
-
137
- <ul class="summary">
138
-
139
- <li class="public ">
140
- <span class="summary_signature">
141
-
142
- <a href="#render-instance_method" title="#render (instance method)">#<strong>render</strong>(node) &#x21d2; Object </a>
143
-
144
-
145
-
146
- </span>
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <span class="summary_desc"><div class='inline'>
157
- <p>Renders block type nodes.</p>
158
- </div></span>
159
-
160
- </li>
161
-
162
-
163
- </ul>
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></h3>
176
- <p class="inherited"><span class='object_link'><a href="BaseNodeRenderer.html#initialize-instance_method" title="RichTextRenderer::BaseNodeRenderer#initialize (method)">#initialize</a></span></p>
177
- <div id="constructor_details" class="method_details_list">
178
- <h2>Constructor Details</h2>
179
-
180
- <p class="notice">This class inherits a constructor from <span class='object_link'><a href="BaseNodeRenderer.html#initialize-instance_method" title="RichTextRenderer::BaseNodeRenderer#initialize (method)">RichTextRenderer::BaseNodeRenderer</a></span></p>
181
-
182
- </div>
183
-
184
-
185
- <div id="instance_method_details" class="method_details_list">
186
- <h2>Instance Method Details</h2>
187
-
188
-
189
- <div class="method_details first">
190
- <h3 class="signature first" id="render-instance_method">
191
-
192
- #<strong>render</strong>(node) &#x21d2; <tt>Object</tt>
193
-
194
-
195
-
196
-
197
-
198
- </h3><div class="docstring">
199
- <div class="discussion">
200
-
201
- <p>Renders block type nodes.</p>
202
-
203
-
204
- </div>
205
- </div>
206
- <div class="tags">
207
-
208
-
209
- </div><table class="source_code">
210
- <tr>
211
- <td>
212
- <pre class="lines">
213
-
214
-
215
- 7
216
- 8
217
- 9</pre>
218
- </td>
219
- <td>
220
- <pre class="code"><span class="info file"># File 'lib/rich_text_renderer/block_renderers/base_block_renderer.rb', line 7</span>
221
-
222
- <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
223
- <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_render_tag'>render_tag</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_render_content'>render_content</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_render_tag'>render_tag</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;</span><span class='tstring_end'>&quot;</span></span>
224
- <span class='kw'>end</span></pre>
225
- </td>
226
- </tr>
227
- </table>
228
- </div>
229
-
230
- </div>
231
-
232
- </div>
233
-
234
- <div id="footer">
235
- Generated on Mon Oct 15 14:58:22 2018 by
236
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
- 0.9.16 (ruby-2.5.1).
238
- </div>
239
-
240
- </div>
241
- </body>
242
- </html>
@@ -1,242 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: RichTextRenderer::BaseInlineRenderer
8
-
9
- &mdash; Documentation by YARD 0.9.16
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "RichTextRenderer::BaseInlineRenderer";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
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">
38
-
39
- <a href="../_index.html">Index (B)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../RichTextRenderer.html" title="RichTextRenderer (module)">RichTextRenderer</a></span></span>
41
- &raquo;
42
- <span class="title">BaseInlineRenderer</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
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>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: RichTextRenderer::BaseInlineRenderer
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName"><span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next"><span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></li>
78
-
79
- <li class="next">RichTextRenderer::BaseInlineRenderer</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/rich_text_renderer/text_renderers/base_inline_renderer.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>Base renderer for inline nodes.</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div><div id="subclasses">
116
- <h2>Direct Known Subclasses</h2>
117
- <p class="children"><span class='object_link'><a href="BoldRenderer.html" title="RichTextRenderer::BoldRenderer (class)">BoldRenderer</a></span>, <span class='object_link'><a href="CodeRenderer.html" title="RichTextRenderer::CodeRenderer (class)">CodeRenderer</a></span>, <span class='object_link'><a href="ItalicRenderer.html" title="RichTextRenderer::ItalicRenderer (class)">ItalicRenderer</a></span>, <span class='object_link'><a href="UnderlineRenderer.html" title="RichTextRenderer::UnderlineRenderer (class)">UnderlineRenderer</a></span></p>
118
- </div>
119
-
120
-
121
-
122
-
123
-
124
-
125
- <h2>Instance Attribute Summary</h2>
126
-
127
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></h3>
128
- <p class="inherited"><span class='object_link'><a href="BaseNodeRenderer.html#mappings-instance_method" title="RichTextRenderer::BaseNodeRenderer#mappings (method)">#mappings</a></span></p>
129
-
130
-
131
-
132
- <h2>
133
- Instance Method Summary
134
- <small><a href="#" class="summary_toggle">collapse</a></small>
135
- </h2>
136
-
137
- <ul class="summary">
138
-
139
- <li class="public ">
140
- <span class="summary_signature">
141
-
142
- <a href="#render-instance_method" title="#render (instance method)">#<strong>render</strong>(node) &#x21d2; Object </a>
143
-
144
-
145
-
146
- </span>
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <span class="summary_desc"><div class='inline'>
157
- <p>Renders inline nodes.</p>
158
- </div></span>
159
-
160
- </li>
161
-
162
-
163
- </ul>
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseNodeRenderer.html" title="RichTextRenderer::BaseNodeRenderer (class)">BaseNodeRenderer</a></span></h3>
176
- <p class="inherited"><span class='object_link'><a href="BaseNodeRenderer.html#initialize-instance_method" title="RichTextRenderer::BaseNodeRenderer#initialize (method)">#initialize</a></span></p>
177
- <div id="constructor_details" class="method_details_list">
178
- <h2>Constructor Details</h2>
179
-
180
- <p class="notice">This class inherits a constructor from <span class='object_link'><a href="BaseNodeRenderer.html#initialize-instance_method" title="RichTextRenderer::BaseNodeRenderer#initialize (method)">RichTextRenderer::BaseNodeRenderer</a></span></p>
181
-
182
- </div>
183
-
184
-
185
- <div id="instance_method_details" class="method_details_list">
186
- <h2>Instance Method Details</h2>
187
-
188
-
189
- <div class="method_details first">
190
- <h3 class="signature first" id="render-instance_method">
191
-
192
- #<strong>render</strong>(node) &#x21d2; <tt>Object</tt>
193
-
194
-
195
-
196
-
197
-
198
- </h3><div class="docstring">
199
- <div class="discussion">
200
-
201
- <p>Renders inline nodes.</p>
202
-
203
-
204
- </div>
205
- </div>
206
- <div class="tags">
207
-
208
-
209
- </div><table class="source_code">
210
- <tr>
211
- <td>
212
- <pre class="lines">
213
-
214
-
215
- 7
216
- 8
217
- 9</pre>
218
- </td>
219
- <td>
220
- <pre class="code"><span class="info file"># File 'lib/rich_text_renderer/text_renderers/base_inline_renderer.rb', line 7</span>
221
-
222
- <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
223
- <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_render_tag'>render_tag</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node'>node</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>value</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_render_tag'>render_tag</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;</span><span class='tstring_end'>&quot;</span></span>
224
- <span class='kw'>end</span></pre>
225
- </td>
226
- </tr>
227
- </table>
228
- </div>
229
-
230
- </div>
231
-
232
- </div>
233
-
234
- <div id="footer">
235
- Generated on Mon Oct 15 14:58:22 2018 by
236
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
- 0.9.16 (ruby-2.5.1).
238
- </div>
239
-
240
- </div>
241
- </body>
242
- </html>