This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class Pathname
|
||||
|
||||
# Start a path. Another alias for #new.
|
||||
#
|
||||
# Pathname / 'usr'
|
||||
#
|
||||
def self./(path)
|
||||
new(path)
|
||||
end
|
||||
|
||||
# Try to get this into standard Pathname class.
|
||||
alias_method :/, :+
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user