class Guard::Flog::Flogger
Public Class Methods
new()
click to toggle source
# File lib/guard/flog/flogger.rb, line 6 def initialize ::FlogCLI.load_plugins options = ::FlogCLI.parse_options @flogger = ::FlogCLI.new(options) end
Public Instance Methods
flog(paths)
click to toggle source
# File lib/guard/flog/flogger.rb, line 12 def flog(paths) paths.each do |path| UI.info "Running flog for file: '#{path}'", reset: true @flogger.flog(path) @flogger.report puts end end