lib/branch/name/locatable.rb in branch-name-0.1.0.pre.alpha vs lib/branch/name/locatable.rb in branch-name-1.0.0.pre.beta

- old
+ new

@@ -9,21 +9,21 @@ module_function def home_folder Dir.home end - alias_method :global_folder, :home_folder + alias global_folder home_folder singleton_class.alias_method :global_folder, :home_folder def local_folder Dir.pwd end def system_folder system_folder = Pathname.new('/') unless system_folder.exist? && system_folder.directory? puts "WARNING: system folder #{system_folder} does not exist, " \ - "using global folder instead (#{global_folder})".red + "using global folder instead (#{global_folder})".red return global_folder end system_folder.to_s end