Class: BuildTool::BuildSystem::Progressbar
- Inherits:
-
ProgressbarBase
- Object
- Logging::Appender
- MJ::Logging::Progressbar
- ProgressbarBase
- BuildTool::BuildSystem::Progressbar
- Defined in:
- lib/build-tool/build-system/cmake.rb
Instance Method Summary collapse
Methods inherited from ProgressbarBase
Methods inherited from MJ::Logging::Progressbar
Constructor Details
This class inherits a constructor from MJ::Logging::Progressbar
Instance Method Details
#grep_progress(message) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/build-tool/build-system/cmake.rb', line 11 def grep_progress( ) match = /^\[ *(\d+)%\]/.match( ) if match and not @pbar.nil? # puts match[ 1 ] @pbar.set( match[ 1 ].to_i ) end end |