Files
git-utilities/lib/xgrep/simple_env.rb
2016-04-29 09:12:25 -04:00

22 lines
340 B
Ruby

module Xgrep
class SimpleEnv
attr_accessor :pathspec
def initialize
@pathspec = { }
end
def update_pathspec ( pathspec )
files = %w{}
dirs = %w{.}
specs = %w{}
if pathspec.empty?
@pathspec = files + dirs + specs
else
@pathspec = pathspec
end
end
end
end