module Todonotes
Module Todonotes
.
Encapsuate:
-
Todonotes::Todonotes
(Singleton)
end¶ ↑
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
end¶ ↑
Constants
- TODONOTES
'singleton'-instance of
Todonotes
- VERSION
Public Class Methods
See Todonotes::Todonotes#codelines
end¶ ↑
# File lib/todonotes.rb, line 64 def codelines() TODONOTES.codelines() end
See Todonotes::Todonotes#log2file
end¶ ↑
# File lib/todonotes.rb, line 76 def log2file(filename = File.basename($0) + '.todo', level = Log4r::ALL) TODONOTES.log2file(filename, level) end
See Todonotes::Todonotes#logger
end¶ ↑
# File lib/todonotes.rb, line 70 def logger() TODONOTES.logger() end
See Todonotes::Todonotes#overview
end¶ ↑
# File lib/todonotes.rb, line 58 def overview(*settings ) TODONOTES.overview( *settings ) end
See Todonotes::Todonotes#overview
end¶ ↑
# File lib/todonotes.rb, line 52 def print_stats( with_type = false ) TODONOTES.overview( with_type ) end