wpb 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. data/Changelog.md +9 -3
  2. data/bin/wpb +3 -5
  3. data/doc/Bash.html +222 -0
  4. data/doc/Comment.html +411 -0
  5. data/doc/Gemfile.html +110 -0
  6. data/doc/Page.html +315 -0
  7. data/doc/PagePost.html +422 -0
  8. data/doc/Post.html +164 -0
  9. data/doc/Rakefile.html +107 -0
  10. data/doc/Setting.html +164 -0
  11. data/doc/User.html +415 -0
  12. data/doc/WPB.html +188 -0
  13. data/doc/WPB/AddType.html +254 -0
  14. data/doc/WPB/App.html +231 -0
  15. data/doc/bin/wpb.html +54 -0
  16. data/doc/created.rid +13 -0
  17. data/doc/index.html +114 -0
  18. data/doc/lib/wpb/bash_rb.html +56 -0
  19. data/doc/lib/wpb/comment_rb.html +54 -0
  20. data/doc/lib/wpb/page_rb.html +203 -0
  21. data/doc/lib/wpb/pagepost_rb.html +54 -0
  22. data/doc/lib/wpb/post_rb.html +52 -0
  23. data/doc/lib/wpb/setting_rb.html +54 -0
  24. data/doc/lib/wpb/user_rb.html +54 -0
  25. data/doc/lib/wpb/version_rb.html +52 -0
  26. data/doc/lib/wpb_rb.html +68 -0
  27. data/doc/rdoc.css +706 -0
  28. data/lib/wpb.rb +36 -29
  29. data/lib/wpb/bash.rb +18 -0
  30. data/lib/wpb/clamp/attribute.rb +37 -0
  31. data/lib/wpb/clamp/attribute_declaration.rb +40 -0
  32. data/lib/wpb/clamp/command.rb +137 -0
  33. data/lib/wpb/clamp/errors.rb +26 -0
  34. data/lib/wpb/clamp/help.rb +69 -0
  35. data/lib/wpb/clamp/option.rb +77 -0
  36. data/lib/wpb/clamp/option/declaration.rb +58 -0
  37. data/lib/wpb/clamp/option/parsing.rb +45 -0
  38. data/lib/wpb/clamp/parameter.rb +70 -0
  39. data/lib/wpb/clamp/parameter/declaration.rb +28 -0
  40. data/lib/wpb/clamp/parameter/parsing.rb +28 -0
  41. data/lib/wpb/clamp/subcommand.rb +23 -0
  42. data/lib/wpb/clamp/subcommand/declaration.rb +40 -0
  43. data/lib/wpb/clamp/subcommand/execution.rb +37 -0
  44. data/lib/wpb/clamp/version.rb +3 -0
  45. data/lib/wpb/comment.rb +51 -5
  46. data/lib/wpb/page.rb +46 -0
  47. data/lib/wpb/pagepost.rb +29 -16
  48. data/lib/wpb/user.rb +25 -0
  49. data/lib/wpb/version.rb +4 -1
  50. metadata +43 -2
data/doc/Post.html ADDED
@@ -0,0 +1,164 @@
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: Post</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="./lib/wpb/post_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/wpb/post.rb">lib/wpb/post.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="PagePost.html">PagePost</a></p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+
69
+ <!-- Included Modules -->
70
+
71
+ </div>
72
+
73
+ <div id="project-metadata">
74
+
75
+
76
+ <div id="fileindex-section" class="section project-section">
77
+ <h3 class="section-header">Files</h3>
78
+ <ul>
79
+
80
+ <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
81
+
82
+ <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
83
+
84
+ </ul>
85
+ </div>
86
+
87
+
88
+ <div id="classindex-section" class="section project-section">
89
+ <h3 class="section-header">Class Index
90
+ <span class="search-toggle"><img src="./images/find.png"
91
+ height="16" width="16" alt="[+]"
92
+ title="show/hide quicksearch" /></span></h3>
93
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
94
+ <fieldset>
95
+ <legend>Quicksearch</legend>
96
+ <input type="text" name="quicksearch" value=""
97
+ class="quicksearch-field" />
98
+ </fieldset>
99
+ </form>
100
+
101
+ <ul class="link-list">
102
+
103
+ <li><a href="./WPB.html">WPB</a></li>
104
+
105
+ <li><a href="./WPB/AddType.html">WPB::AddType</a></li>
106
+
107
+ <li><a href="./WPB/App.html">WPB::App</a></li>
108
+
109
+ <li><a href="./Bash.html">Bash</a></li>
110
+
111
+ <li><a href="./Comment.html">Comment</a></li>
112
+
113
+ <li><a href="./Page.html">Page</a></li>
114
+
115
+ <li><a href="./PagePost.html">PagePost</a></li>
116
+
117
+ <li><a href="./Post.html">Post</a></li>
118
+
119
+ <li><a href="./Setting.html">Setting</a></li>
120
+
121
+ <li><a href="./User.html">User</a></li>
122
+
123
+ </ul>
124
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
125
+ </div>
126
+
127
+
128
+ </div>
129
+ </div>
130
+
131
+ <div id="documentation">
132
+ <h1 class="class">Post</h1>
133
+
134
+ <div id="description">
135
+
136
+ </div>
137
+
138
+ <!-- Constants -->
139
+
140
+
141
+ <!-- Attributes -->
142
+
143
+
144
+ <!-- Methods -->
145
+
146
+
147
+ </div>
148
+
149
+
150
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
151
+
152
+ <p>Disabled; run with --debug to generate this.</p>
153
+
154
+ </div>
155
+
156
+ <div id="validator-badges">
157
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
158
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
159
+ Rdoc Generator</a> 1.1.6</small>.</p>
160
+ </div>
161
+
162
+ </body>
163
+ </html>
164
+
data/doc/Rakefile.html ADDED
@@ -0,0 +1,107 @@
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="./Rakefile.html">Rakefile</a></li>
45
+
46
+ </ul>
47
+ </div>
48
+
49
+
50
+ <div id="classindex-section" class="section project-section">
51
+ <h3 class="section-header">Class Index
52
+ <span class="search-toggle"><img src="./images/find.png"
53
+ height="16" width="16" alt="[+]"
54
+ title="show/hide quicksearch" /></span></h3>
55
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
56
+ <fieldset>
57
+ <legend>Quicksearch</legend>
58
+ <input type="text" name="quicksearch" value=""
59
+ class="quicksearch-field" />
60
+ </fieldset>
61
+ </form>
62
+
63
+ <ul class="link-list">
64
+
65
+ <li><a href="./WPB.html">WPB</a></li>
66
+
67
+ <li><a href="./WPB/AddType.html">WPB::AddType</a></li>
68
+
69
+ <li><a href="./WPB/App.html">WPB::App</a></li>
70
+
71
+ <li><a href="./Bash.html">Bash</a></li>
72
+
73
+ <li><a href="./Comment.html">Comment</a></li>
74
+
75
+ <li><a href="./Page.html">Page</a></li>
76
+
77
+ <li><a href="./PagePost.html">PagePost</a></li>
78
+
79
+ <li><a href="./Post.html">Post</a></li>
80
+
81
+ <li><a href="./Setting.html">Setting</a></li>
82
+
83
+ <li><a href="./User.html">User</a></li>
84
+
85
+ </ul>
86
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
87
+ </div>
88
+
89
+
90
+ </div>
91
+ </div>
92
+
93
+ <div id="documentation">
94
+ <p>
95
+ require &#8216;bundler&#8217; Bundler::GemHelper.install_tasks
96
+ </p>
97
+
98
+ </div>
99
+
100
+ <div id="validator-badges">
101
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
102
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
103
+ Rdoc Generator</a> 1.1.6</small>.</p>
104
+ </div>
105
+ </body>
106
+ </html>
107
+
data/doc/Setting.html ADDED
@@ -0,0 +1,164 @@
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: Setting</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="./lib/wpb/setting_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/wpb/setting.rb">lib/wpb/setting.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">ActiveRecord::Base</p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+
69
+ <!-- Included Modules -->
70
+
71
+ </div>
72
+
73
+ <div id="project-metadata">
74
+
75
+
76
+ <div id="fileindex-section" class="section project-section">
77
+ <h3 class="section-header">Files</h3>
78
+ <ul>
79
+
80
+ <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
81
+
82
+ <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
83
+
84
+ </ul>
85
+ </div>
86
+
87
+
88
+ <div id="classindex-section" class="section project-section">
89
+ <h3 class="section-header">Class Index
90
+ <span class="search-toggle"><img src="./images/find.png"
91
+ height="16" width="16" alt="[+]"
92
+ title="show/hide quicksearch" /></span></h3>
93
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
94
+ <fieldset>
95
+ <legend>Quicksearch</legend>
96
+ <input type="text" name="quicksearch" value=""
97
+ class="quicksearch-field" />
98
+ </fieldset>
99
+ </form>
100
+
101
+ <ul class="link-list">
102
+
103
+ <li><a href="./WPB.html">WPB</a></li>
104
+
105
+ <li><a href="./WPB/AddType.html">WPB::AddType</a></li>
106
+
107
+ <li><a href="./WPB/App.html">WPB::App</a></li>
108
+
109
+ <li><a href="./Bash.html">Bash</a></li>
110
+
111
+ <li><a href="./Comment.html">Comment</a></li>
112
+
113
+ <li><a href="./Page.html">Page</a></li>
114
+
115
+ <li><a href="./PagePost.html">PagePost</a></li>
116
+
117
+ <li><a href="./Post.html">Post</a></li>
118
+
119
+ <li><a href="./Setting.html">Setting</a></li>
120
+
121
+ <li><a href="./User.html">User</a></li>
122
+
123
+ </ul>
124
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
125
+ </div>
126
+
127
+
128
+ </div>
129
+ </div>
130
+
131
+ <div id="documentation">
132
+ <h1 class="class">Setting</h1>
133
+
134
+ <div id="description">
135
+
136
+ </div>
137
+
138
+ <!-- Constants -->
139
+
140
+
141
+ <!-- Attributes -->
142
+
143
+
144
+ <!-- Methods -->
145
+
146
+
147
+ </div>
148
+
149
+
150
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
151
+
152
+ <p>Disabled; run with --debug to generate this.</p>
153
+
154
+ </div>
155
+
156
+ <div id="validator-badges">
157
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
158
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
159
+ Rdoc Generator</a> 1.1.6</small>.</p>
160
+ </div>
161
+
162
+ </body>
163
+ </html>
164
+
data/doc/User.html ADDED
@@ -0,0 +1,415 @@
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: User</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="./lib/wpb/user_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/wpb/user.rb">lib/wpb/user.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">ActiveRecord::Base</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-email">#email</a></li>
73
+
74
+ <li><a href="#method-i-email%3D">#email=</a></li>
75
+
76
+ <li><a href="#method-i-name">#name</a></li>
77
+
78
+ <li><a href="#method-i-name%3D">#name=</a></li>
79
+
80
+ <li><a href="#method-i-username">#username</a></li>
81
+
82
+ <li><a href="#method-i-username%3D">#username=</a></li>
83
+
84
+ </ul>
85
+ </div>
86
+
87
+
88
+ <!-- Included Modules -->
89
+
90
+ </div>
91
+
92
+ <div id="project-metadata">
93
+
94
+
95
+ <div id="fileindex-section" class="section project-section">
96
+ <h3 class="section-header">Files</h3>
97
+ <ul>
98
+
99
+ <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
100
+
101
+ <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
102
+
103
+ </ul>
104
+ </div>
105
+
106
+
107
+ <div id="classindex-section" class="section project-section">
108
+ <h3 class="section-header">Class Index
109
+ <span class="search-toggle"><img src="./images/find.png"
110
+ height="16" width="16" alt="[+]"
111
+ title="show/hide quicksearch" /></span></h3>
112
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
113
+ <fieldset>
114
+ <legend>Quicksearch</legend>
115
+ <input type="text" name="quicksearch" value=""
116
+ class="quicksearch-field" />
117
+ </fieldset>
118
+ </form>
119
+
120
+ <ul class="link-list">
121
+
122
+ <li><a href="./WPB.html">WPB</a></li>
123
+
124
+ <li><a href="./WPB/AddType.html">WPB::AddType</a></li>
125
+
126
+ <li><a href="./WPB/App.html">WPB::App</a></li>
127
+
128
+ <li><a href="./Bash.html">Bash</a></li>
129
+
130
+ <li><a href="./Comment.html">Comment</a></li>
131
+
132
+ <li><a href="./Page.html">Page</a></li>
133
+
134
+ <li><a href="./PagePost.html">PagePost</a></li>
135
+
136
+ <li><a href="./Post.html">Post</a></li>
137
+
138
+ <li><a href="./Setting.html">Setting</a></li>
139
+
140
+ <li><a href="./User.html">User</a></li>
141
+
142
+ </ul>
143
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
144
+ </div>
145
+
146
+
147
+ </div>
148
+ </div>
149
+
150
+ <div id="documentation">
151
+ <h1 class="class">User</h1>
152
+
153
+ <div id="description">
154
+ <p>
155
+ This class is used for getting the user from the wordpress database
156
+ </p>
157
+ <h2>Examples:</h2>
158
+ <pre>
159
+ User.find(1).name
160
+ </pre>
161
+ <p>
162
+ The above will find the user with id of 1 and retrieve their display name
163
+ </p>
164
+
165
+ </div>
166
+
167
+ <!-- Constants -->
168
+
169
+
170
+ <!-- Attributes -->
171
+
172
+
173
+ <!-- Methods -->
174
+
175
+ <div id="public-instance-method-details" class="method-section section">
176
+ <h3 class="section-header">Public Instance Methods</h3>
177
+
178
+
179
+ <div id="email-method" class="method-detail ">
180
+ <a name="method-i-email"></a>
181
+
182
+ <div class="method-heading">
183
+
184
+ <span class="method-name">email</span><span
185
+ class="method-args">()</span>
186
+ <span class="method-click-advice">click to toggle source</span>
187
+
188
+ </div>
189
+
190
+ <div class="method-description">
191
+
192
+ <p>
193
+ Grab the email of the selected user
194
+ </p>
195
+
196
+
197
+
198
+ <div class="method-source-code"
199
+ id="email-source">
200
+ <pre>
201
+ <span class="ruby-comment cmt"># File lib/wpb/user.rb, line 50</span>
202
+ 50: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">email</span>
203
+ 51: <span class="ruby-identifier">user_email</span>
204
+ 52: <span class="ruby-keyword kw">end</span></pre>
205
+ </div>
206
+
207
+ </div>
208
+
209
+
210
+
211
+
212
+ </div>
213
+
214
+
215
+ <div id="email--method" class="method-detail ">
216
+ <a name="method-i-email%3D"></a>
217
+
218
+ <div class="method-heading">
219
+
220
+ <span class="method-name">email=</span><span
221
+ class="method-args">(email)</span>
222
+ <span class="method-click-advice">click to toggle source</span>
223
+
224
+ </div>
225
+
226
+ <div class="method-description">
227
+
228
+ <p>
229
+ Set the email of the selected user
230
+ </p>
231
+
232
+
233
+
234
+ <div class="method-source-code"
235
+ id="email--source">
236
+ <pre>
237
+ <span class="ruby-comment cmt"># File lib/wpb/user.rb, line 57</span>
238
+ 57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">email=</span> <span class="ruby-identifier">email</span>
239
+ 58: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">user_email</span> = <span class="ruby-identifier">email</span>
240
+ 59: <span class="ruby-keyword kw">end</span></pre>
241
+ </div>
242
+
243
+ </div>
244
+
245
+
246
+
247
+
248
+ </div>
249
+
250
+
251
+ <div id="name-method" class="method-detail ">
252
+ <a name="method-i-name"></a>
253
+
254
+ <div class="method-heading">
255
+
256
+ <span class="method-name">name</span><span
257
+ class="method-args">()</span>
258
+ <span class="method-click-advice">click to toggle source</span>
259
+
260
+ </div>
261
+
262
+ <div class="method-description">
263
+
264
+ <p>
265
+ Grab the name of the selected user
266
+ </p>
267
+
268
+
269
+
270
+ <div class="method-source-code"
271
+ id="name-source">
272
+ <pre>
273
+ <span class="ruby-comment cmt"># File lib/wpb/user.rb, line 22</span>
274
+ 22: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
275
+ 23: <span class="ruby-identifier">display_name</span>
276
+ 24: <span class="ruby-keyword kw">end</span></pre>
277
+ </div>
278
+
279
+ </div>
280
+
281
+
282
+
283
+
284
+ </div>
285
+
286
+
287
+ <div id="name--method" class="method-detail ">
288
+ <a name="method-i-name%3D"></a>
289
+
290
+ <div class="method-heading">
291
+
292
+ <span class="method-name">name=</span><span
293
+ class="method-args">(name)</span>
294
+ <span class="method-click-advice">click to toggle source</span>
295
+
296
+ </div>
297
+
298
+ <div class="method-description">
299
+
300
+ <p>
301
+ Set the name of the selected user
302
+ </p>
303
+
304
+
305
+
306
+ <div class="method-source-code"
307
+ id="name--source">
308
+ <pre>
309
+ <span class="ruby-comment cmt"># File lib/wpb/user.rb, line 29</span>
310
+ 29: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name=</span> <span class="ruby-identifier">name</span>
311
+ 30: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">display_name</span> = <span class="ruby-identifier">name</span>
312
+ 31: <span class="ruby-keyword kw">end</span></pre>
313
+ </div>
314
+
315
+ </div>
316
+
317
+
318
+
319
+
320
+ </div>
321
+
322
+
323
+ <div id="username-method" class="method-detail ">
324
+ <a name="method-i-username"></a>
325
+
326
+ <div class="method-heading">
327
+
328
+ <span class="method-name">username</span><span
329
+ class="method-args">()</span>
330
+ <span class="method-click-advice">click to toggle source</span>
331
+
332
+ </div>
333
+
334
+ <div class="method-description">
335
+
336
+ <p>
337
+ Grab the username of the selected user
338
+ </p>
339
+
340
+
341
+
342
+ <div class="method-source-code"
343
+ id="username-source">
344
+ <pre>
345
+ <span class="ruby-comment cmt"># File lib/wpb/user.rb, line 36</span>
346
+ 36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">username</span>
347
+ 37: <span class="ruby-identifier">user_login</span>
348
+ 38: <span class="ruby-keyword kw">end</span></pre>
349
+ </div>
350
+
351
+ </div>
352
+
353
+
354
+
355
+
356
+ </div>
357
+
358
+
359
+ <div id="username--method" class="method-detail ">
360
+ <a name="method-i-username%3D"></a>
361
+
362
+ <div class="method-heading">
363
+
364
+ <span class="method-name">username=</span><span
365
+ class="method-args">(username)</span>
366
+ <span class="method-click-advice">click to toggle source</span>
367
+
368
+ </div>
369
+
370
+ <div class="method-description">
371
+
372
+ <p>
373
+ Set the username of the selected user
374
+ </p>
375
+
376
+
377
+
378
+ <div class="method-source-code"
379
+ id="username--source">
380
+ <pre>
381
+ <span class="ruby-comment cmt"># File lib/wpb/user.rb, line 43</span>
382
+ 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">username=</span> <span class="ruby-identifier">username</span>
383
+ 44: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">user_login</span> = <span class="ruby-identifier">username</span>
384
+ 45: <span class="ruby-keyword kw">end</span></pre>
385
+ </div>
386
+
387
+ </div>
388
+
389
+
390
+
391
+
392
+ </div>
393
+
394
+
395
+ </div>
396
+
397
+
398
+ </div>
399
+
400
+
401
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
402
+
403
+ <p>Disabled; run with --debug to generate this.</p>
404
+
405
+ </div>
406
+
407
+ <div id="validator-badges">
408
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
409
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
410
+ Rdoc Generator</a> 1.1.6</small>.</p>
411
+ </div>
412
+
413
+ </body>
414
+ </html>
415
+