diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-02-06 21:19:27 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-02-06 21:19:27 -0500 |
commit | cd01cd76e133dce0708fcfedf3e62fc6fbae83af (patch) | |
tree | 8624de84277bbd2bd91ffb4e8191a897c9bb2be3 /lib/sisu/v4/constants.rb | |
parent | v4: html, screen reporting for --html-scroll, correctly identify output file (diff) |
v4 (v3): utils (debug renamed), SiSU_Utils::CodeMarker (from Debug::Mark)
Diffstat (limited to 'lib/sisu/v4/constants.rb')
-rw-r--r-- | lib/sisu/v4/constants.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v4/constants.rb b/lib/sisu/v4/constants.rb index 65b17796..d774be25 100644 --- a/lib/sisu/v4/constants.rb +++ b/lib/sisu/v4/constants.rb @@ -289,8 +289,8 @@ DEVELOPER={ maintenance: :false, } __END__ -puts SiSU_Debug::Mark.new(__LINE__,__FILE__,:red).set -puts SiSU_Debug::Mark.new(__LINE__,__FILE__).set(:green) +puts SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:red).set +puts SiSU_Utils::CodeMarker.new(__LINE__,__FILE__).set(:green) puts ANSI_C[:red] + __LINE__.to_s + ANSI_C[:off] + ' ' + __FILE__ puts "#{ANSI_C[:red]} #{__LINE__.to_s} #{ANSI_C[:off]} #{__FILE__}" puts ANSI_C[:fuchsia] + __LINE__.to_s + ANSI_C[:off] + ' ' + __FILE__.gsub(/([^\/]+$)/,"#{ANSI_C[:fuchsia]}\\1#{ANSI_C[:off]}") |