kmts 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/CHANGELOG +4 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +29 -0
- data/LICENSE +202 -0
- data/README.md +64 -0
- data/README.rdoc +14 -0
- data/Rakefile +5 -0
- data/bin/km_send +35 -0
- data/doc/Accept.html +546 -0
- data/doc/Gemfile.html +110 -0
- data/doc/Hash.html +283 -0
- data/doc/Helper.html +318 -0
- data/doc/KMError.html +159 -0
- data/doc/KMTS.html +493 -0
- data/doc/KMTS/IdentError.html +159 -0
- data/doc/KMTS/InitError.html +159 -0
- data/doc/KMTS/SaaS.html +451 -0
- data/doc/Object.html +211 -0
- data/doc/README_rdoc.html +122 -0
- data/doc/Rakefile.html +111 -0
- data/doc/String.html +244 -0
- data/doc/bin/km_send.html +54 -0
- data/doc/created.rid +15 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +142 -0
- data/doc/js/darkfish.js +116 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/km/saas_rb.html +54 -0
- data/doc/lib/km/version_rb.html +52 -0
- data/doc/lib/km_rb.html +60 -0
- data/doc/rdoc.css +730 -0
- data/doc/spec/accept_rb.html +62 -0
- data/doc/spec/km_old_rb.html +54 -0
- data/doc/spec/km_saas_spec_rb.html +56 -0
- data/doc/spec/km_send_spec_rb.html +54 -0
- data/doc/spec/km_spec_rb.html +54 -0
- data/doc/spec/setup_rb.html +60 -0
- data/doc/spec/watchr_rb.html +52 -0
- data/kmts.gemspec +26 -0
- data/lib/kmts.rb +245 -0
- data/lib/kmts/saas.rb +39 -0
- data/lib/kmts/version.rb +3 -0
- data/spec/accept.rb +91 -0
- data/spec/km_old.rb +105 -0
- data/spec/km_saas_spec.rb +107 -0
- data/spec/km_send_spec.rb +98 -0
- data/spec/km_spec.rb +175 -0
- data/spec/setup.rb +77 -0
- data/spec/watchr.rb +3 -0
- metadata +190 -0
data/doc/Object.html
ADDED
@@ -0,0 +1,211 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Class: Object</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript"
|
13
|
+
charset="utf-8"></script>
|
14
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
15
|
+
charset="utf-8"></script>
|
16
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
17
|
+
charset="utf-8"></script>
|
18
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
19
|
+
charset="utf-8"></script>
|
20
|
+
|
21
|
+
</head>
|
22
|
+
<body class="class">
|
23
|
+
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="file-metadata">
|
36
|
+
<div id="file-list-section" class="section">
|
37
|
+
<h3 class="section-header">In Files</h3>
|
38
|
+
<div class="section-body">
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li><a href="./spec/setup_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
+
class="thickbox" title="spec/setup.rb">spec/setup.rb</a></li>
|
43
|
+
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="class-metadata">
|
52
|
+
|
53
|
+
<!-- Parent Class -->
|
54
|
+
|
55
|
+
<div id="parent-class-section" class="section">
|
56
|
+
<h3 class="section-header">Parent</h3>
|
57
|
+
|
58
|
+
<p class="link"></p>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Namespace Contents -->
|
64
|
+
|
65
|
+
|
66
|
+
<!-- Method Quickref -->
|
67
|
+
|
68
|
+
<div id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="#method-i-__">#__</a></li>
|
73
|
+
|
74
|
+
</ul>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
<!-- Included Modules -->
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="project-metadata">
|
83
|
+
|
84
|
+
|
85
|
+
<div id="fileindex-section" class="section project-section">
|
86
|
+
<h3 class="section-header">Files</h3>
|
87
|
+
<ul>
|
88
|
+
|
89
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
90
|
+
|
91
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
92
|
+
|
93
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
94
|
+
|
95
|
+
</ul>
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
<div id="classindex-section" class="section project-section">
|
100
|
+
<h3 class="section-header">Class/Module Index
|
101
|
+
<span class="search-toggle"><img src="./images/find.png"
|
102
|
+
height="16" width="16" alt="[+]"
|
103
|
+
title="show/hide quicksearch" /></span></h3>
|
104
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
105
|
+
<fieldset>
|
106
|
+
<legend>Quicksearch</legend>
|
107
|
+
<input type="text" name="quicksearch" value=""
|
108
|
+
class="quicksearch-field" />
|
109
|
+
</fieldset>
|
110
|
+
</form>
|
111
|
+
|
112
|
+
<ul class="link-list">
|
113
|
+
|
114
|
+
<li><a href="./KMTS.html">KMTS</a></li>
|
115
|
+
|
116
|
+
<li><a href="./KMTS/IdentError.html">KMTS::IdentError</a></li>
|
117
|
+
|
118
|
+
<li><a href="./KMTS/InitError.html">KMTS::InitError</a></li>
|
119
|
+
|
120
|
+
<li><a href="./KMTS/SaaS.html">KMTS::SaaS</a></li>
|
121
|
+
|
122
|
+
<li><a href="./Accept.html">Accept</a></li>
|
123
|
+
|
124
|
+
<li><a href="./Hash.html">Hash</a></li>
|
125
|
+
|
126
|
+
<li><a href="./Helper.html">Helper</a></li>
|
127
|
+
|
128
|
+
<li><a href="./KMError.html">KMError</a></li>
|
129
|
+
|
130
|
+
<li><a href="./Object.html">Object</a></li>
|
131
|
+
|
132
|
+
<li><a href="./String.html">String</a></li>
|
133
|
+
|
134
|
+
</ul>
|
135
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
|
142
|
+
<div id="documentation">
|
143
|
+
<h1 class="class">Object</h1>
|
144
|
+
|
145
|
+
<div id="description">
|
146
|
+
|
147
|
+
</div>
|
148
|
+
|
149
|
+
<!-- Constants -->
|
150
|
+
|
151
|
+
|
152
|
+
<!-- Attributes -->
|
153
|
+
|
154
|
+
|
155
|
+
<!-- Methods -->
|
156
|
+
|
157
|
+
<div id="public-instance-method-details" class="method-section section">
|
158
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
159
|
+
|
160
|
+
|
161
|
+
<div id="__-method" class="method-detail ">
|
162
|
+
<a name="method-i-__"></a>
|
163
|
+
|
164
|
+
|
165
|
+
<div class="method-heading">
|
166
|
+
<span class="method-name">__</span><span
|
167
|
+
class="method-args">(*args)</span>
|
168
|
+
<span class="method-click-advice">click to toggle source</span>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
|
172
|
+
<div class="method-description">
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
<div class="method-source-code"
|
179
|
+
id="__-source">
|
180
|
+
<pre>
|
181
|
+
<span class="ruby-comment"># File spec/setup.rb, line 12</span>
|
182
|
+
def __(*args)
|
183
|
+
file_this_included_from = caller.first.split(<span class="ruby-string">":"</span>).first
|
184
|
+
app_root = <span class="ruby-constant">File</span>.expand_path(<span class="ruby-constant">File</span>.dirname(file_this_included_from))
|
185
|
+
args = [app_root]+args
|
186
|
+
<span class="ruby-constant">File</span>.expand_path(<span class="ruby-constant">File</span>.join(args))
|
187
|
+
end</pre>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
</div>
|
196
|
+
|
197
|
+
|
198
|
+
</div>
|
199
|
+
|
200
|
+
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div id="validator-badges">
|
204
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
205
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
206
|
+
Rdoc Generator</a> 2</small>.</p>
|
207
|
+
</div>
|
208
|
+
|
209
|
+
</body>
|
210
|
+
</html>
|
211
|
+
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: README.rdoc [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
47
|
+
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
<div id="classindex-section" class="section project-section">
|
53
|
+
<h3 class="section-header">Class Index
|
54
|
+
<span class="search-toggle"><img src="./images/find.png"
|
55
|
+
height="16" width="16" alt="[+]"
|
56
|
+
title="show/hide quicksearch" /></span></h3>
|
57
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
+
<fieldset>
|
59
|
+
<legend>Quicksearch</legend>
|
60
|
+
<input type="text" name="quicksearch" value=""
|
61
|
+
class="quicksearch-field" />
|
62
|
+
</fieldset>
|
63
|
+
</form>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="./KMTS.html">KMTS</a></li>
|
68
|
+
|
69
|
+
<li><a href="./KMTS/IdentError.html">KMTS::IdentError</a></li>
|
70
|
+
|
71
|
+
<li><a href="./KMTS/InitError.html">KMTS::InitError</a></li>
|
72
|
+
|
73
|
+
<li><a href="./KMTS/SaaS.html">KMTS::SaaS</a></li>
|
74
|
+
|
75
|
+
<li><a href="./Accept.html">Accept</a></li>
|
76
|
+
|
77
|
+
<li><a href="./Hash.html">Hash</a></li>
|
78
|
+
|
79
|
+
<li><a href="./Helper.html">Helper</a></li>
|
80
|
+
|
81
|
+
<li><a href="./KMError.html">KMError</a></li>
|
82
|
+
|
83
|
+
<li><a href="./Object.html">Object</a></li>
|
84
|
+
|
85
|
+
<li><a href="./String.html">String</a></li>
|
86
|
+
|
87
|
+
</ul>
|
88
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<div id="documentation">
|
96
|
+
|
97
|
+
<h1>Documentation</h1>
|
98
|
+
|
99
|
+
<p>We are hosting our documentation for our Ruby API here: <a
|
100
|
+
href="http://support.kissmetrics.com/apis/ruby">support.kissmetrics.com/apis/ruby</a></p>
|
101
|
+
|
102
|
+
<h1>SaaS</h1>
|
103
|
+
|
104
|
+
<p>This gem includes SaaS calls. For more information please refer to: <a
|
105
|
+
href="http://support.kissmetrics.com/getting-started/saas_basics">support.kissmetrics.com/getting-started/saas_basics</a></p>
|
106
|
+
|
107
|
+
<p>In order to get the API for SaaS, be sure to:</p>
|
108
|
+
|
109
|
+
<pre>require 'km/saas'</pre>
|
110
|
+
|
111
|
+
<p>For the methods used, see the <a href="KMTS/SaaS.html">rdoc for SaaS</a></p>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div id="validator-badges">
|
116
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
117
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
118
|
+
Rdoc Generator</a> 2</small>.</p>
|
119
|
+
</div>
|
120
|
+
</body>
|
121
|
+
</html>
|
122
|
+
|
data/doc/Rakefile.html
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: Rakefile [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
47
|
+
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
<div id="classindex-section" class="section project-section">
|
53
|
+
<h3 class="section-header">Class Index
|
54
|
+
<span class="search-toggle"><img src="./images/find.png"
|
55
|
+
height="16" width="16" alt="[+]"
|
56
|
+
title="show/hide quicksearch" /></span></h3>
|
57
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
+
<fieldset>
|
59
|
+
<legend>Quicksearch</legend>
|
60
|
+
<input type="text" name="quicksearch" value=""
|
61
|
+
class="quicksearch-field" />
|
62
|
+
</fieldset>
|
63
|
+
</form>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="./KMTS.html">KMTS</a></li>
|
68
|
+
|
69
|
+
<li><a href="./KMTS/IdentError.html">KMTS::IdentError</a></li>
|
70
|
+
|
71
|
+
<li><a href="./KMTS/InitError.html">KMTS::InitError</a></li>
|
72
|
+
|
73
|
+
<li><a href="./KMTS/SaaS.html">KMTS::SaaS</a></li>
|
74
|
+
|
75
|
+
<li><a href="./Accept.html">Accept</a></li>
|
76
|
+
|
77
|
+
<li><a href="./Hash.html">Hash</a></li>
|
78
|
+
|
79
|
+
<li><a href="./Helper.html">Helper</a></li>
|
80
|
+
|
81
|
+
<li><a href="./KMError.html">KMError</a></li>
|
82
|
+
|
83
|
+
<li><a href="./Object.html">Object</a></li>
|
84
|
+
|
85
|
+
<li><a href="./String.html">String</a></li>
|
86
|
+
|
87
|
+
</ul>
|
88
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<div id="documentation">
|
96
|
+
|
97
|
+
<p>require ‘bundler’ require ‘rspec/core/rake_task’
|
98
|
+
Bundler::GemHelper.install_tasks</p>
|
99
|
+
|
100
|
+
<p>RSpec::Core::RakeTask.new(:spec)</p>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<div id="validator-badges">
|
105
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
106
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
107
|
+
Rdoc Generator</a> 2</small>.</p>
|
108
|
+
</div>
|
109
|
+
</body>
|
110
|
+
</html>
|
111
|
+
|
data/doc/String.html
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Class: String</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript"
|
13
|
+
charset="utf-8"></script>
|
14
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
15
|
+
charset="utf-8"></script>
|
16
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
17
|
+
charset="utf-8"></script>
|
18
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
19
|
+
charset="utf-8"></script>
|
20
|
+
|
21
|
+
</head>
|
22
|
+
<body class="class">
|
23
|
+
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="file-metadata">
|
36
|
+
<div id="file-list-section" class="section">
|
37
|
+
<h3 class="section-header">In Files</h3>
|
38
|
+
<div class="section-body">
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li><a href="./spec/setup_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
+
class="thickbox" title="spec/setup.rb">spec/setup.rb</a></li>
|
43
|
+
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="class-metadata">
|
52
|
+
|
53
|
+
<!-- Parent Class -->
|
54
|
+
|
55
|
+
<div id="parent-class-section" class="section">
|
56
|
+
<h3 class="section-header">Parent</h3>
|
57
|
+
|
58
|
+
<p class="link"><a href="Object.html">Object</a></p>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Namespace Contents -->
|
64
|
+
|
65
|
+
|
66
|
+
<!-- Method Quickref -->
|
67
|
+
|
68
|
+
<div id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="#method-i-sort">#sort</a></li>
|
73
|
+
|
74
|
+
<li><a href="#method-i-sort-21">#sort!</a></li>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
|
80
|
+
<!-- Included Modules -->
|
81
|
+
|
82
|
+
</div>
|
83
|
+
|
84
|
+
<div id="project-metadata">
|
85
|
+
|
86
|
+
|
87
|
+
<div id="fileindex-section" class="section project-section">
|
88
|
+
<h3 class="section-header">Files</h3>
|
89
|
+
<ul>
|
90
|
+
|
91
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
92
|
+
|
93
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
94
|
+
|
95
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
96
|
+
|
97
|
+
</ul>
|
98
|
+
</div>
|
99
|
+
|
100
|
+
|
101
|
+
<div id="classindex-section" class="section project-section">
|
102
|
+
<h3 class="section-header">Class/Module Index
|
103
|
+
<span class="search-toggle"><img src="./images/find.png"
|
104
|
+
height="16" width="16" alt="[+]"
|
105
|
+
title="show/hide quicksearch" /></span></h3>
|
106
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
107
|
+
<fieldset>
|
108
|
+
<legend>Quicksearch</legend>
|
109
|
+
<input type="text" name="quicksearch" value=""
|
110
|
+
class="quicksearch-field" />
|
111
|
+
</fieldset>
|
112
|
+
</form>
|
113
|
+
|
114
|
+
<ul class="link-list">
|
115
|
+
|
116
|
+
<li><a href="./KMTS.html">KMTS</a></li>
|
117
|
+
|
118
|
+
<li><a href="./KMTS/IdentError.html">KMTS::IdentError</a></li>
|
119
|
+
|
120
|
+
<li><a href="./KMTS/InitError.html">KMTS::InitError</a></li>
|
121
|
+
|
122
|
+
<li><a href="./KMTS/SaaS.html">KMTS::SaaS</a></li>
|
123
|
+
|
124
|
+
<li><a href="./Accept.html">Accept</a></li>
|
125
|
+
|
126
|
+
<li><a href="./Hash.html">Hash</a></li>
|
127
|
+
|
128
|
+
<li><a href="./Helper.html">Helper</a></li>
|
129
|
+
|
130
|
+
<li><a href="./KMError.html">KMError</a></li>
|
131
|
+
|
132
|
+
<li><a href="./Object.html">Object</a></li>
|
133
|
+
|
134
|
+
<li><a href="./String.html">String</a></li>
|
135
|
+
|
136
|
+
</ul>
|
137
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div id="documentation">
|
145
|
+
<h1 class="class">String</h1>
|
146
|
+
|
147
|
+
<div id="description">
|
148
|
+
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<!-- Constants -->
|
152
|
+
|
153
|
+
|
154
|
+
<!-- Attributes -->
|
155
|
+
|
156
|
+
|
157
|
+
<!-- Methods -->
|
158
|
+
|
159
|
+
<div id="public-instance-method-details" class="method-section section">
|
160
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
161
|
+
|
162
|
+
|
163
|
+
<div id="sort-method" class="method-detail ">
|
164
|
+
<a name="method-i-sort"></a>
|
165
|
+
|
166
|
+
|
167
|
+
<div class="method-heading">
|
168
|
+
<span class="method-name">sort</span><span
|
169
|
+
class="method-args">()</span>
|
170
|
+
<span class="method-click-advice">click to toggle source</span>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
|
174
|
+
<div class="method-description">
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
<div class="method-source-code"
|
181
|
+
id="sort-source">
|
182
|
+
<pre>
|
183
|
+
<span class="ruby-comment"># File spec/setup.rb, line 36</span>
|
184
|
+
def sort
|
185
|
+
self.split(<span class="ruby-string">''</span>).sort.join(<span class="ruby-string">''</span>)
|
186
|
+
end</pre>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
</div>
|
195
|
+
|
196
|
+
|
197
|
+
<div id="sort-21-method" class="method-detail ">
|
198
|
+
<a name="method-i-sort-21"></a>
|
199
|
+
|
200
|
+
|
201
|
+
<div class="method-heading">
|
202
|
+
<span class="method-name">sort!</span><span
|
203
|
+
class="method-args">()</span>
|
204
|
+
<span class="method-click-advice">click to toggle source</span>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
|
208
|
+
<div class="method-description">
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
<div class="method-source-code"
|
215
|
+
id="sort-21-source">
|
216
|
+
<pre>
|
217
|
+
<span class="ruby-comment"># File spec/setup.rb, line 39</span>
|
218
|
+
def sort!
|
219
|
+
replace(self.sort)
|
220
|
+
end</pre>
|
221
|
+
</div>
|
222
|
+
|
223
|
+
</div>
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
</div>
|
229
|
+
|
230
|
+
|
231
|
+
</div>
|
232
|
+
|
233
|
+
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div id="validator-badges">
|
237
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
238
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
239
|
+
Rdoc Generator</a> 2</small>.</p>
|
240
|
+
</div>
|
241
|
+
|
242
|
+
</body>
|
243
|
+
</html>
|
244
|
+
|