lib/buildmaster/cotta/cotta.rb in BuildMaster-1.0.6 vs lib/buildmaster/cotta/cotta.rb in BuildMaster-1.0.9

- old
+ new

@@ -46,10 +46,15 @@ def Cotta::file(path) return nil unless path return Cotta.new.file(File.expand_path(path)) end + # DEPRECATED! Use +parent_dir+ instead. def Cotta::parent_of(path) + return Cotta.file(path).parent + end + + def Cotta::parent_dir(path) return Cotta.file(path).parent end def entry(path) entry = file(path) \ No newline at end of file