retjilp 0.3 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0be573cb1df2e1d0fd478775132a4c2f825b9cc6
4
- data.tar.gz: b66e13bf039bd618707330de775555bd20d9e269
3
+ metadata.gz: acbbfe3e1cb79eb8e4fb9e8e05fe57856208a73a
4
+ data.tar.gz: 405427dca071cc839015b8e86053098f90b72270
5
5
  SHA512:
6
- metadata.gz: 6f52b3f74b3af7890b5f178554c098fcee04571e39f0dbdf6abb16e9a8744064c8b1033cb647e0c49fcf8ee0789b0e517dde64873d86d1653987fc45b9d51f6b
7
- data.tar.gz: df55c0104d7d42696c82ba0e7b4c2704bb82e14c87b84c5ca83c0dc90d90c94b84da6a710a3105f38728e52ca9482e43c21721ab21edee401dd00e22b88af275
6
+ metadata.gz: 152f7c576b82f2626e62d0faceb7d0355dec33a5f1d851554573568fa2d0250d9570a7ab43c3ef3c65db893b86705a0ad366f9261d3060ed84577f55beb92ec4
7
+ data.tar.gz: ef51b50a20452fa7dcf61f56d8ad79cb32fc86b306f9f5f31cd5dec795a89568b04c5ed1a7d2af33a50a83544daddc8d9820ddd522dbbe6e434bcbce1eef3346
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ spec = eval(File.read('retjilp.gemspec'))
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ spec.dependencies.each do |dep|
6
+ gem dep.name, dep.requirement
7
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,26 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.2.1)
5
+ json_pure (1.7.7)
6
+ oauth (0.4.7)
7
+ rake (10.0.3)
8
+ rspec (2.13.0)
9
+ rspec-core (~> 2.13.0)
10
+ rspec-expectations (~> 2.13.0)
11
+ rspec-mocks (~> 2.13.0)
12
+ rspec-core (2.13.0)
13
+ rspec-expectations (2.13.0)
14
+ diff-lcs (>= 1.1.3, < 2.0)
15
+ rspec-mocks (2.13.0)
16
+ yard (0.8.5.2)
17
+
18
+ PLATFORMS
19
+ ruby
20
+
21
+ DEPENDENCIES
22
+ json_pure
23
+ oauth
24
+ rake
25
+ rspec
26
+ yard
data/Rakefile CHANGED
@@ -1,8 +1,15 @@
1
1
  require 'yard'
2
+ require 'rake/clean'
2
3
  require 'rake/testtask'
3
4
  require 'rubygems/package_task'
4
5
  require 'rspec/core/rake_task'
5
6
 
7
+ CLEAN.include('.yardoc')
8
+ CLEAN.include('doc')
9
+ CLEAN.include('pkg')
10
+
11
+ spec = eval(File.read('retjilp.gemspec'))
12
+
6
13
  RSpec::Core::RakeTask.new(:spec) do |s|
7
14
  s.pattern = 'test/spec/*_spec.rb'
8
15
  end
@@ -12,11 +19,10 @@ end
12
19
  #end
13
20
 
14
21
  YARD::Rake::YardocTask.new do |t|
15
- t.files = ['lib/**/*.rb', '-', 'README.markdown', 'COPYING']
16
- t.options = ['--no-private', '--protected']
22
+ t.files = ['lib/**/*.rb', '-'] + spec.extra_rdoc_files
23
+ t.options = spec.rdoc_options
17
24
  end
18
25
 
19
- spec = eval(File.read('retjilp.gemspec'))
20
26
  Gem::PackageTask.new(spec) do |pkg|
21
27
  pkg.gem_spec = spec
22
28
  end
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'oauth'
3
3
  require 'json/pure'
4
4
 
5
- require_relative 'log'
5
+ require 'retjilp/log'
6
6
 
7
7
  module Retjilp
8
8
  class Retweeter
@@ -1,9 +1,9 @@
1
1
  require 'json/pure'
2
2
  require 'optparse'
3
3
 
4
- require_relative 'log'
5
- require_relative 'retweeter'
6
- require_relative 'twitter'
4
+ require 'retjilp/log'
5
+ require 'retjilp/retweeter'
6
+ require 'retjilp/twitter'
7
7
 
8
8
  module Retjilp
9
9
  DATA_DIR = File.expand_path("~/.retjilp")
@@ -1,4 +1,4 @@
1
- require_relative 'log'
1
+ require 'retjilp/log'
2
2
 
3
3
  module Retjilp
4
4
  class Twitter
data/retjilp.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.summary = 'Automatically retweet tweets'
6
6
  s.description = 'Retjilp logs into your account, scans all the tweets from your following list or another defined list for a set of matching words, and retweets the ones that match (using the native retweet API).'
7
7
  s.requirements = ['']
8
- s.version = '0.3'
8
+ s.version = '0.5'
9
9
  s.author = 'Remko Tronçon'
10
10
  s.email = 'remko@el-tramo.be'
11
11
  s.homepage = 'http://el-tramo.be/blog/retjilp'
@@ -14,7 +14,10 @@ Gem::Specification.new do |s|
14
14
  s.files = Dir['{bin,lib,doc}/**/*'] + Dir['[A-Z]*'] + ['retjilp.gemspec']
15
15
  s.executables = 'retjilp'
16
16
  s.require_paths = ['lib']
17
- s.has_rdoc = false
17
+ s.has_rdoc = true
18
+ s.rdoc_options = ['--main', 'README.markdown', '--no-private', '--protected']
19
+ s.extra_rdoc_files = ['README.markdown', 'COPYING']
20
+
18
21
  s.license = 'BSD'
19
22
  s.test_files = Dir.glob("test/**/*.rb")
20
23
 
@@ -22,7 +25,6 @@ Gem::Specification.new do |s|
22
25
  s.add_runtime_dependency('json_pure')
23
26
 
24
27
  s.add_development_dependency('rake')
25
- s.add_development_dependency('rspec-core')
26
- s.add_development_dependency('rspec-mocks')
27
- s.add_development_dependency('rspec-expectations')
28
+ s.add_development_dependency('yard')
29
+ s.add_development_dependency('rspec')
28
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retjilp
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remko Tronçon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-03 00:00:00.000000000 Z
11
+ date: 2013-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec-core
56
+ name: yard
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '>='
@@ -67,21 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec-mocks
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rspec-expectations
70
+ name: rspec
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - '>='
@@ -101,35 +87,19 @@ email: remko@el-tramo.be
101
87
  executables:
102
88
  - retjilp
103
89
  extensions: []
104
- extra_rdoc_files: []
90
+ extra_rdoc_files:
91
+ - README.markdown
92
+ - COPYING
105
93
  files:
106
94
  - bin/retjilp
107
95
  - lib/retjilp/log.rb
108
96
  - lib/retjilp/retweeter.rb
109
97
  - lib/retjilp/runner.rb
110
98
  - lib/retjilp/twitter.rb
111
- - doc/_index.html
112
- - doc/class_list.html
113
- - doc/css/common.css
114
- - doc/css/full_list.css
115
- - doc/css/style.css
116
- - doc/file.AUTHORS.html
117
- - doc/file.COPYING.html
118
- - doc/file.README.html
119
- - doc/file_list.html
120
- - doc/frames.html
121
- - doc/index.html
122
- - doc/js/app.js
123
- - doc/js/full_list.js
124
- - doc/js/jquery.js
125
- - doc/method_list.html
126
- - doc/Retjilp/Options.html
127
- - doc/Retjilp/Retweeter.html
128
- - doc/Retjilp/Runner.html
129
- - doc/Retjilp.html
130
- - doc/top-level-namespace.html
131
99
  - AUTHORS
132
100
  - COPYING
101
+ - Gemfile
102
+ - Gemfile.lock
133
103
  - Rakefile
134
104
  - README.markdown
135
105
  - retjilp.gemspec
@@ -139,7 +109,11 @@ licenses:
139
109
  - BSD
140
110
  metadata: {}
141
111
  post_install_message:
142
- rdoc_options: []
112
+ rdoc_options:
113
+ - --main
114
+ - README.markdown
115
+ - --no-private
116
+ - --protected
143
117
  require_paths:
144
118
  - lib
145
119
  required_ruby_version: !ruby/object:Gem::Requirement
data/doc/Retjilp.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: Retjilp
8
-
9
- &mdash; Documentation by YARD 0.8.5.2
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" 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#!" + escape(window.location.href);
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 (R)</a> &raquo;
35
-
36
-
37
- <span class="title">Retjilp</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: Retjilp
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/retjilp/runner.rb<span class="defines">,<br />
83
- lib/retjilp/options.rb,<br /> lib/retjilp/retweeter.rb</span>
84
- </dd>
85
-
86
- </dl>
87
- <div class="clear"></div>
88
-
89
- <h2>Defined Under Namespace</h2>
90
- <p class="children">
91
-
92
-
93
-
94
-
95
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Retjilp/Options.html" title="Retjilp::Options (class)">Options</a></span>, <span class='object_link'><a href="Retjilp/Retweeter.html" title="Retjilp::Retweeter (class)">Retweeter</a></span>, <span class='object_link'><a href="Retjilp/Runner.html" title="Retjilp::Runner (class)">Runner</a></span>
96
-
97
-
98
- </p>
99
-
100
- <h2>Constant Summary</h2>
101
-
102
- <dl class="constants">
103
-
104
- <dt id="TWITTER_URI-constant" class="">TWITTER_URI =
105
-
106
- </dt>
107
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>http://api.twitter.com</span><span class='tstring_end'>&quot;</span></span></pre></dd>
108
-
109
- <dt id="API_VERSION-constant" class="">API_VERSION =
110
-
111
- </dt>
112
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.1</span><span class='tstring_end'>&quot;</span></span></pre></dd>
113
-
114
- </dl>
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
- </div>
126
-
127
- <div id="footer">
128
- Generated on Sat Mar 2 22:44:52 2013 by
129
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.8.5.2 (ruby-2.0.0).
131
- </div>
132
-
133
- </body>
134
- </html>
@@ -1,308 +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
- Class: Retjilp::Options
8
-
9
- &mdash; Documentation by YARD 0.8.5.2
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" 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#!" + escape(window.location.href);
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 (O)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Retjilp.html" title="Retjilp (module)">Retjilp</a></span></span>
36
- &raquo;
37
- <span class="title">Options</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>Class: Retjilp::Options
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Object</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Retjilp::Options</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/retjilp/options.rb</dd>
98
-
99
- </dl>
100
- <div class="clear"></div>
101
-
102
-
103
-
104
-
105
-
106
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
107
- <ul class="summary">
108
-
109
- <li class="public ">
110
- <span class="summary_signature">
111
-
112
- <a href="#log_level-instance_method" title="#log_level (instance method)">- (Object) <strong>log_level</strong> </a>
113
-
114
-
115
-
116
- </span>
117
-
118
-
119
-
120
-
121
- <span class="note title readonly">readonly</span>
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
- <span class="summary_desc"><div class='inline'>
132
- <p>Returns the value of attribute log_level.</p>
133
- </div></span>
134
-
135
- </li>
136
-
137
-
138
- </ul>
139
-
140
-
141
-
142
-
143
-
144
- <h2>
145
- Instance Method Summary
146
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
147
- </h2>
148
-
149
- <ul class="summary">
150
-
151
- <li class="public ">
152
- <span class="summary_signature">
153
-
154
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Options) <strong>initialize</strong>(argv) </a>
155
-
156
-
157
-
158
- </span>
159
-
160
-
161
- <span class="note title constructor">constructor</span>
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
- <span class="summary_desc"><div class='inline'>
171
- <p>A new instance of Options.</p>
172
- </div></span>
173
-
174
- </li>
175
-
176
-
177
- </ul>
178
-
179
-
180
- <div id="constructor_details" class="method_details_list">
181
- <h2>Constructor Details</h2>
182
-
183
- <div class="method_details first">
184
- <h3 class="signature first" id="initialize-instance_method">
185
-
186
- - (<tt><span class='object_link'><a href="" title="Retjilp::Options (class)">Options</a></span></tt>) <strong>initialize</strong>(argv)
187
-
188
-
189
-
190
-
191
-
192
- </h3><div class="docstring">
193
- <div class="discussion">
194
-
195
- <p>A new instance of Options</p>
196
-
197
-
198
- </div>
199
- </div>
200
- <div class="tags">
201
-
202
-
203
- </div><table class="source_code">
204
- <tr>
205
- <td>
206
- <pre class="lines">
207
-
208
-
209
- 8
210
- 9
211
- 10
212
- 11
213
- 12
214
- 13
215
- 14
216
- 15
217
- 16
218
- 17
219
- 18
220
- 19
221
- 20
222
- 21
223
- 22</pre>
224
- </td>
225
- <td>
226
- <pre class="code"><span class="info file"># File 'lib/retjilp/options.rb', line 8</span>
227
-
228
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_argv'>argv</span><span class='rparen'>)</span>
229
- <span class='ivar'>@log_level</span> <span class='op'>=</span> <span class='const'>Logger</span><span class='op'>::</span><span class='const'>WARN</span>
230
- <span class='const'>OptionParser</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_opts'>opts</span><span class='op'>|</span>
231
- <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_banner'>banner</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Usage: retjilp [ --help ] [ --verbose | --debug ]</span><span class='tstring_end'>&quot;</span></span>
232
- <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--verbose</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Run with verbose output</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='ivar'>@log_level</span> <span class='op'>=</span> <span class='const'>Logger</span><span class='op'>::</span><span class='const'>INFO</span> <span class='rbrace'>}</span>
233
- <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--debug</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Run with debug output</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='ivar'>@log_level</span> <span class='op'>=</span> <span class='const'>Logger</span><span class='op'>::</span><span class='const'>DEBUG</span> <span class='rbrace'>}</span>
234
- <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_on_tail'>on_tail</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-h</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--help</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Show this help</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_opts'>opts</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_exit'>exit</span> <span class='rbrace'>}</span>
235
- <span class='kw'>begin</span>
236
- <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_parse!'>parse!</span><span class='lparen'>(</span><span class='id identifier rubyid_argv'>argv</span><span class='rparen'>)</span>
237
- <span class='kw'>rescue</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_e'>e</span>
238
- <span class='const'>STDERR</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span>
239
- <span class='id identifier rubyid_exit'>exit</span><span class='lparen'>(</span><span class='op'>-</span><span class='int'>1</span><span class='rparen'>)</span>
240
- <span class='kw'>end</span>
241
- <span class='kw'>end</span>
242
- <span class='kw'>end</span></pre>
243
- </td>
244
- </tr>
245
- </table>
246
- </div>
247
-
248
- </div>
249
-
250
- <div id="instance_attr_details" class="attr_details">
251
- <h2>Instance Attribute Details</h2>
252
-
253
-
254
- <span id=""></span>
255
- <div class="method_details first">
256
- <h3 class="signature first" id="log_level-instance_method">
257
-
258
- - (<tt>Object</tt>) <strong>log_level</strong> <span class="extras">(readonly)</span>
259
-
260
-
261
-
262
-
263
-
264
- </h3><div class="docstring">
265
- <div class="discussion">
266
-
267
- <p>Returns the value of attribute log_level</p>
268
-
269
-
270
- </div>
271
- </div>
272
- <div class="tags">
273
-
274
-
275
- </div><table class="source_code">
276
- <tr>
277
- <td>
278
- <pre class="lines">
279
-
280
-
281
- 6
282
- 7
283
- 8</pre>
284
- </td>
285
- <td>
286
- <pre class="code"><span class="info file"># File 'lib/retjilp/options.rb', line 6</span>
287
-
288
- <span class='kw'>def</span> <span class='id identifier rubyid_log_level'>log_level</span>
289
- <span class='ivar'>@log_level</span>
290
- <span class='kw'>end</span></pre>
291
- </td>
292
- </tr>
293
- </table>
294
- </div>
295
-
296
- </div>
297
-
298
-
299
- </div>
300
-
301
- <div id="footer">
302
- Generated on Sat Mar 2 22:44:52 2013 by
303
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
304
- 0.8.5.2 (ruby-2.0.0).
305
- </div>
306
-
307
- </body>
308
- </html>