1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
require "hbc/container/base" module Hbc class Container class Directory < Base def self.me?(*) false end def extract @path.children.each do |child| next if skip_path?(child) FileUtils.cp child, @cask.staged_path end end private def skip_path?(*) false end end end end