lib/faster_path.rb in faster_path-0.1.12 vs lib/faster_path.rb in faster_path-0.1.13

- old
+ new

@@ -47,10 +47,14 @@ def self.basename(pth, ext="") Rust.basename(pth, ext) end + def self.plus(pth, pth2) + Rust.plus(pth, pth2) + end + def self.add_trailing_separator(pth) Rust.add_trailing_separator(pth) end def self.has_trailing_separator?(pth) @@ -91,9 +95,10 @@ attach_function :is_directory, [ :string ], :bool attach_function :is_relative, [ :string ], :bool attach_function :is_blank, [ :string ], :bool attach_function :both_are_blank, [ :string, :string ], :bool attach_function :basename, [ :string, :string ], :string + attach_function :plus, [ :string, :string ], :string attach_function :dirname, [ :string ], :string attach_function :basename_for_chop, [ :string ], :string # decoupling behavior attach_function :dirname_for_chop, [ :string ], :string # decoupling behavior attach_function :add_trailing_separator, [ :string ], :string attach_function :has_trailing_separator, [ :string ], :bool