Module: CoreEx::Pathname::ShortCut
- Defined in:
- lib/core_ex/pathname.rb
Instance Method Summary collapse
-
#`(path) ⇒ Object
Allow to use this sort of constructions:.
Instance Method Details
#`(path) ⇒ Object
Allow to use this sort of constructions:
`/path/to/a/file`.open do |f|
...
end
187 188 189 |
# File 'lib/core_ex/pathname.rb', line 187 def ` ( path ) ::Pathname.new(path) end |