Sha256: e277ca78a38797656ec3a51123ff75b01892759c824460afef033ef8282e091a
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
module Gitenv class Action include Context def initialize config, type, files, options @type, @files, @options = type, files, options copy! config end def each options = {}, &block @files.each from_path do |f| block.call @type.new(self, f, @options.merge(options)) end end def each_file &block @files.each from_path do |f| block.call File.join(from_path, f) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gitenv-0.0.5 | lib/gitenv/action.rb |