Sha256: cd9e4543fa0bdd3a22e7acfec0d951e005a3aa7377bcd817fc0c6847a686e719
Contents?: true
Size: 507 Bytes
Versions: 8
Compression:
Stored size: 507 Bytes
Contents
class Textmate::Source::Base def self.name(name = nil) @name = name if name @name end def name self.class.name end def <=>(other) name <=> other.name end def clear_existing(bundle) FileUtils.rm_rf(local_path_for(bundle)) end def local_path_for(bundle) File.join(Textmate::Local.bundle_install_path, "#{bundle}.tmbundle") end def around_install(bundle, &block) clear_existing(bundle) yield puts "#{bundle} bundle installed" puts end end
Version data entries
8 entries across 8 versions & 1 rubygems