Class: Fuci::CachedCommandRunner
- Inherits:
-
Object
- Object
- Fuci::CachedCommandRunner
- Extended by:
- Forwardable
- Defined in:
- lib/fuci/cached_command_runner.rb
Instance Method Summary collapse
Instance Method Details
#command_cache ⇒ Object
18 19 20 |
# File 'lib/fuci/cached_command_runner.rb', line 18 def command_cache @command_cache ||= CommandCache.new end |
#run ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/fuci/cached_command_runner.rb', line 10 def run puts 'Running specs from last call to fuci.' IO.popen cached_command do |io| io.each { |string| puts string } end end |