Module: Todonotes
- Defined in:
- lib/todonotes.rb,
lib/todonotes/todo.rb,
lib/todonotes/log4r.rb,
lib/todonotes/version.rb,
lib/todonotes/todonotes.rb
Overview
Changes
Based on a proposal in forum.ruby-portal.de/viewtopic.php?f=11&t=11957, See also stackoverflow.com/a/13668213/676874
0.1.0 2011-06-24:
-
Initial version, copied from todo_gem
0.1.1 2012-12-02
-
correction in documentation
-
example in English
-
Todonotes#codeline -> Todonotes#codelines
-
Implement module Todonotes with methods overview, codelines, logger, log2file
See also
0.1.2:
-
Use Minitest
-
Evaluate block for each call (allows dynamic results)
-
raise NotImplementedError on request
0.2.0
-
Adapted for ruby 2.1
0.2.1 2015-04-28
-
Adapted log4r-requirement (adapted Version)
0.2.2 2015-10-22
-
Added license ‘LGPL-3.0’ opensource.org/licenses/LGPL-3.0 github.com/knut2/todonotes/issues/1
Defined Under Namespace
Classes: FixmeFormatter, Todo, Todonotes
Constant Summary collapse
Class Method Summary collapse
-
.codelines ⇒ Object
See Todonotes::Todonotes#codelines.
-
.log2file(filename = File.basename($0) + '.todo', level = Log4r::ALL) ⇒ Object
See Todonotes::Todonotes#log2file.
-
.logger ⇒ Object
See Todonotes::Todonotes#logger.
-
.overview(*settings) ⇒ Object
See Todonotes::Todonotes#overview.
-
.print_stats(with_type = false) ⇒ Object
See Todonotes::Todonotes#overview.
Class Method Details
.codelines ⇒ Object
See Todonotes::Todonotes#codelines
64 65 66 |
# File 'lib/todonotes.rb', line 64 def codelines() TODONOTES.codelines() end |
.log2file(filename = File.basename($0) + '.todo', level = Log4r::ALL) ⇒ Object
See Todonotes::Todonotes#log2file
76 77 78 |
# File 'lib/todonotes.rb', line 76 def log2file(filename = File.basename($0) + '.todo', level = Log4r::ALL) TODONOTES.log2file(filename, level) end |
.logger ⇒ Object
See Todonotes::Todonotes#logger
70 71 72 |
# File 'lib/todonotes.rb', line 70 def logger() TODONOTES.logger() end |
.overview(*settings) ⇒ Object
See Todonotes::Todonotes#overview
58 59 60 |
# File 'lib/todonotes.rb', line 58 def overview(*settings ) TODONOTES.overview( *settings ) end |