diff options
Diffstat (limited to 'lib/arel/algebra/extensions/pathname.rb')
-rw-r--r-- | lib/arel/algebra/extensions/pathname.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/arel/algebra/extensions/pathname.rb b/lib/arel/algebra/extensions/pathname.rb new file mode 100644 index 0000000000..2f7e2733e7 --- /dev/null +++ b/lib/arel/algebra/extensions/pathname.rb @@ -0,0 +1,5 @@ +class Pathname + def /(path) + (self + path).expand_path + end +end
\ No newline at end of file |