mbrao 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -1
- data/.travis-gemfile +2 -3
- data/.travis.yml +5 -3
- data/.yardopts +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -1
- data/LICENSE.md +21 -0
- data/README.md +21 -16
- data/Rakefile +1 -1
- data/{doc → docs}/ActionView.html +1 -1
- data/{doc → docs}/ActionView/Template.html +1 -1
- data/{doc → docs}/ActionView/Template/Handlers.html +1 -1
- data/{doc → docs}/ActionView/Template/Handlers/MbraoTemplate.html +1 -1
- data/{doc → docs}/HTML.html +1 -1
- data/{doc → docs}/HTML/Pipeline.html +1 -1
- data/{doc → docs}/HTML/Pipeline/KramdownFilter.html +1 -1
- data/{doc → docs}/Mbrao.html +1 -1
- data/{doc → docs}/Mbrao/Author.html +1 -1
- data/{doc → docs}/Mbrao/Content.html +1 -1
- data/{doc → docs}/Mbrao/ContentInterface.html +1 -1
- data/{doc → docs}/Mbrao/ContentInterface/ClassMethods.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions/InvalidDate.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions/InvalidMetadata.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions/Parsing.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions/Rendering.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions/UnavailableLocalization.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions/Unimplemented.html +1 -1
- data/{doc → docs}/Mbrao/Exceptions/UnknownEngine.html +1 -1
- data/{doc → docs}/Mbrao/Parser.html +1 -1
- data/{doc → docs}/Mbrao/ParserInterface.html +1 -1
- data/{doc → docs}/Mbrao/ParserInterface/ClassMethods.html +1 -1
- data/{doc → docs}/Mbrao/ParserValidations.html +1 -1
- data/{doc → docs}/Mbrao/ParserValidations/ClassMethods.html +1 -1
- data/{doc → docs}/Mbrao/ParsingEngines.html +1 -1
- data/{doc → docs}/Mbrao/ParsingEngines/Base.html +1 -1
- data/{doc → docs}/Mbrao/ParsingEngines/PlainText.html +1 -1
- data/{doc → docs}/Mbrao/RenderingEngines.html +1 -1
- data/{doc → docs}/Mbrao/RenderingEngines/Base.html +1 -1
- data/{doc → docs}/Mbrao/RenderingEngines/HtmlPipeline.html +1 -1
- data/{doc → docs}/Mbrao/Version.html +1 -1
- data/{doc → docs}/_index.html +1 -1
- data/{doc → docs}/class_list.html +0 -0
- data/{doc → docs}/css/common.css +0 -0
- data/{doc → docs}/css/full_list.css +0 -0
- data/{doc → docs}/css/style.css +0 -0
- data/{doc → docs}/file.README.html +7 -5
- data/{doc → docs}/file_list.html +0 -0
- data/{doc → docs}/frames.html +0 -0
- data/{doc → docs}/index.html +7 -5
- data/{doc → docs}/js/app.js +0 -0
- data/{doc → docs}/js/full_list.js +0 -0
- data/{doc → docs}/js/jquery.js +0 -0
- data/{doc → docs}/method_list.html +0 -0
- data/{doc → docs}/top-level-namespace.html +1 -1
- data/lib/mbrao.rb +1 -1
- data/lib/mbrao/author.rb +1 -1
- data/lib/mbrao/content.rb +1 -1
- data/lib/mbrao/content_interface.rb +1 -1
- data/lib/mbrao/exceptions.rb +1 -1
- data/lib/mbrao/integrations/rails.rb +1 -1
- data/lib/mbrao/parser.rb +1 -1
- data/lib/mbrao/parser_interface.rb +1 -1
- data/lib/mbrao/parser_validations.rb +1 -1
- data/lib/mbrao/parsing_engines/base.rb +1 -1
- data/lib/mbrao/parsing_engines/plain_text.rb +1 -1
- data/lib/mbrao/rendering_engines/base.rb +1 -1
- data/lib/mbrao/rendering_engines/html_pipeline.rb +1 -1
- data/lib/mbrao/rendering_engines/html_pipeline/kramdown_filter.rb +1 -1
- data/lib/mbrao/version.rb +2 -2
- data/mbrao.gemspec +1 -1
- data/spec/mbrao/author_spec.rb +1 -1
- data/spec/mbrao/content_spec.rb +1 -1
- data/spec/mbrao/integrations/rails_spec.rb +1 -1
- data/spec/mbrao/parser_spec.rb +1 -1
- data/spec/mbrao/parsing_engines/base_spec.rb +1 -1
- data/spec/mbrao/parsing_engines/plain_text_spec.rb +1 -1
- data/spec/mbrao/rendering_engines/base_spec.rb +1 -1
- data/spec/mbrao/rendering_engines/html_pipeline/kramdown_filter_spec.rb +1 -1
- data/spec/mbrao/rendering_engines/html_pipeline_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +50 -54
- data/doc/Mbrao/ContentPublicInterface.html +0 -662
- data/doc/Mbrao/PublicInterface.html +0 -134
- data/doc/Mbrao/PublicInterface/ClassMethods.html +0 -1715
- data/doc/Mbrao/Validations.html +0 -134
- data/doc/Mbrao/Validations/ClassMethods.html +0 -354
data/doc/Mbrao/Validations.html
DELETED
@@ -1,134 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Module: Mbrao::Validations
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.4
|
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
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Mbrao/Validations.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../_index.html">Index (V)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../Mbrao.html" title="Mbrao (module)">Mbrao</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Validations</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: Mbrao::Validations
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<dt class="r1">Extended by:</dt>
|
77
|
-
<dd class="r1">ActiveSupport::Concern</dd>
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
<dt class="r2">Included in:</dt>
|
85
|
-
<dd class="r2"><span class='object_link'><a href="Parser.html" title="Mbrao::Parser (class)">Parser</a></span></dd>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<dt class="r1 last">Defined in:</dt>
|
90
|
-
<dd class="r1 last">lib/mbrao/parser.rb</dd>
|
91
|
-
|
92
|
-
</dl>
|
93
|
-
<div class="clear"></div>
|
94
|
-
|
95
|
-
<h2>Overview</h2><div class="docstring">
|
96
|
-
<div class="discussion">
|
97
|
-
<p>Methods to perform validations.</p>
|
98
|
-
|
99
|
-
|
100
|
-
</div>
|
101
|
-
</div>
|
102
|
-
<div class="tags">
|
103
|
-
|
104
|
-
|
105
|
-
</div><h2>Defined Under Namespace</h2>
|
106
|
-
<p class="children">
|
107
|
-
|
108
|
-
|
109
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Validations/ClassMethods.html" title="Mbrao::Validations::ClassMethods (module)">ClassMethods</a></span>
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
</p>
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
</div>
|
126
|
-
|
127
|
-
<div id="footer">
|
128
|
-
Generated on Wed Apr 9 21:36:00 2014 by
|
129
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
-
0.8.7.4 (ruby-2.1.0).
|
131
|
-
</div>
|
132
|
-
|
133
|
-
</body>
|
134
|
-
</html>
|
@@ -1,354 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Module: Mbrao::Validations::ClassMethods
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.4
|
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
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Mbrao/Validations/ClassMethods.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../../_index.html">Index (C)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../Mbrao.html" title="Mbrao (module)">Mbrao</a></span></span> » <span class='title'><span class='object_link'><a href="../Validations.html" title="Mbrao::Validations (module)">Validations</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">ClassMethods</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: Mbrao::Validations::ClassMethods
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<dt class="r1 last">Defined in:</dt>
|
82
|
-
<dd class="r1 last">lib/mbrao/parser.rb</dd>
|
83
|
-
|
84
|
-
</dl>
|
85
|
-
<div class="clear"></div>
|
86
|
-
|
87
|
-
<h2>Overview</h2><div class="docstring">
|
88
|
-
<div class="discussion">
|
89
|
-
<p>Class methods.</p>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
<div class="tags">
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
<h2>
|
106
|
-
Instance Method Summary
|
107
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
108
|
-
</h2>
|
109
|
-
|
110
|
-
<ul class="summary">
|
111
|
-
|
112
|
-
<li class="public ">
|
113
|
-
<span class="summary_signature">
|
114
|
-
|
115
|
-
<a href="#is_email%3F-instance_method" title="#is_email? (instance method)">- (Boolean) <strong>is_email?</strong>(text) </a>
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
</span>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<span class="summary_desc"><div class='inline'><p>Checks if the text is a valid email.</p>
|
130
|
-
</div></span>
|
131
|
-
|
132
|
-
</li>
|
133
|
-
|
134
|
-
|
135
|
-
<li class="public ">
|
136
|
-
<span class="summary_signature">
|
137
|
-
|
138
|
-
<a href="#is_url%3F-instance_method" title="#is_url? (instance method)">- (Boolean) <strong>is_url?</strong>(text) </a>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
</span>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<span class="summary_desc"><div class='inline'><p>Checks if the text is a valid URL.</p>
|
153
|
-
</div></span>
|
154
|
-
|
155
|
-
</li>
|
156
|
-
|
157
|
-
|
158
|
-
</ul>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<div id="instance_method_details" class="method_details_list">
|
164
|
-
<h2>Instance Method Details</h2>
|
165
|
-
|
166
|
-
|
167
|
-
<div class="method_details first">
|
168
|
-
<h3 class="signature first" id="is_email?-instance_method">
|
169
|
-
|
170
|
-
- (<tt>Boolean</tt>) <strong>is_email?</strong>(text)
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
</h3><div class="docstring">
|
177
|
-
<div class="discussion">
|
178
|
-
<p>Checks if the text is a valid email.</p>
|
179
|
-
|
180
|
-
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
<div class="tags">
|
184
|
-
<p class="tag_title">Parameters:</p>
|
185
|
-
<ul class="param">
|
186
|
-
|
187
|
-
<li>
|
188
|
-
|
189
|
-
<span class='name'>text</span>
|
190
|
-
|
191
|
-
|
192
|
-
<span class='type'>(<tt>String</tt>)</span>
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
—
|
197
|
-
<div class='inline'><p>The text to check.</p>
|
198
|
-
</div>
|
199
|
-
|
200
|
-
</li>
|
201
|
-
|
202
|
-
</ul>
|
203
|
-
|
204
|
-
<p class="tag_title">Returns:</p>
|
205
|
-
<ul class="return">
|
206
|
-
|
207
|
-
<li>
|
208
|
-
|
209
|
-
|
210
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
—
|
215
|
-
<div class='inline'><p><code>true</code> if the string is valid email, <code>false</code> otherwise.</p>
|
216
|
-
</div>
|
217
|
-
|
218
|
-
</li>
|
219
|
-
|
220
|
-
</ul>
|
221
|
-
|
222
|
-
</div><table class="source_code">
|
223
|
-
<tr>
|
224
|
-
<td>
|
225
|
-
<pre class="lines">
|
226
|
-
|
227
|
-
|
228
|
-
136
|
229
|
-
137
|
230
|
-
138
|
231
|
-
139</pre>
|
232
|
-
</td>
|
233
|
-
<td>
|
234
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/parser.rb', line 136</span>
|
235
|
-
|
236
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_is_email?'>is_email?</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span>
|
237
|
-
<span class='id identifier rubyid_regex'>regex</span> <span class='op'>=</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$</span><span class='regexp_end'>/i</span></span>
|
238
|
-
<span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='op'>=~</span> <span class='id identifier rubyid_regex'>regex</span>
|
239
|
-
<span class='kw'>end</span></pre>
|
240
|
-
</td>
|
241
|
-
</tr>
|
242
|
-
</table>
|
243
|
-
</div>
|
244
|
-
|
245
|
-
<div class="method_details ">
|
246
|
-
<h3 class="signature " id="is_url?-instance_method">
|
247
|
-
|
248
|
-
- (<tt>Boolean</tt>) <strong>is_url?</strong>(text)
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
</h3><div class="docstring">
|
255
|
-
<div class="discussion">
|
256
|
-
<p>Checks if the text is a valid URL.</p>
|
257
|
-
|
258
|
-
|
259
|
-
</div>
|
260
|
-
</div>
|
261
|
-
<div class="tags">
|
262
|
-
<p class="tag_title">Parameters:</p>
|
263
|
-
<ul class="param">
|
264
|
-
|
265
|
-
<li>
|
266
|
-
|
267
|
-
<span class='name'>text</span>
|
268
|
-
|
269
|
-
|
270
|
-
<span class='type'>(<tt>String</tt>)</span>
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
—
|
275
|
-
<div class='inline'><p>The text to check.</p>
|
276
|
-
</div>
|
277
|
-
|
278
|
-
</li>
|
279
|
-
|
280
|
-
</ul>
|
281
|
-
|
282
|
-
<p class="tag_title">Returns:</p>
|
283
|
-
<ul class="return">
|
284
|
-
|
285
|
-
<li>
|
286
|
-
|
287
|
-
|
288
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
—
|
293
|
-
<div class='inline'><p><code>true</code> if the string is valid URL, <code>false</code> otherwise.</p>
|
294
|
-
</div>
|
295
|
-
|
296
|
-
</li>
|
297
|
-
|
298
|
-
</ul>
|
299
|
-
|
300
|
-
</div><table class="source_code">
|
301
|
-
<tr>
|
302
|
-
<td>
|
303
|
-
<pre class="lines">
|
304
|
-
|
305
|
-
|
306
|
-
145
|
307
|
-
146
|
308
|
-
147
|
309
|
-
148
|
310
|
-
149
|
311
|
-
150
|
312
|
-
151
|
313
|
-
152
|
314
|
-
153
|
315
|
-
154
|
316
|
-
155
|
317
|
-
156
|
318
|
-
157
|
319
|
-
158</pre>
|
320
|
-
</td>
|
321
|
-
<td>
|
322
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/parser.rb', line 145</span>
|
323
|
-
|
324
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_is_url?'>is_url?</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span>
|
325
|
-
<span class='id identifier rubyid_regex'>regex</span> <span class='op'>=</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>
|
326
|
-
^(
|
327
|
-
([a-z0-9\-]+:\/\/) #PROTOCOL
|
328
|
-
(([\w-]+\.)?) # LOWEST TLD
|
329
|
-
([\w-]+) # 2nd LEVEL TLD
|
330
|
-
(\.[a-z]+) # TOP TLD
|
331
|
-
((:\d+)?) # PORT
|
332
|
-
([\S|\?]*) # PATH, QUERYSTRING AND FRAGMENT
|
333
|
-
)$
|
334
|
-
</span><span class='regexp_end'>/ix</span></span>
|
335
|
-
|
336
|
-
<span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='op'>=~</span> <span class='id identifier rubyid_regex'>regex</span>
|
337
|
-
<span class='kw'>end</span></pre>
|
338
|
-
</td>
|
339
|
-
</tr>
|
340
|
-
</table>
|
341
|
-
</div>
|
342
|
-
|
343
|
-
</div>
|
344
|
-
|
345
|
-
</div>
|
346
|
-
|
347
|
-
<div id="footer">
|
348
|
-
Generated on Wed Apr 9 21:36:00 2014 by
|
349
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
350
|
-
0.8.7.4 (ruby-2.1.0).
|
351
|
-
</div>
|
352
|
-
|
353
|
-
</body>
|
354
|
-
</html>
|