Module: Frontier::Mixin::Filesystem
- Defined in:
- lib/frontier/mixin/filesystem.rb
Instance Method Summary collapse
Instance Method Details
#[](str) ⇒ Object
6 7 8 |
# File 'lib/frontier/mixin/filesystem.rb', line 6 def [](str) str.include?('*') ? Pathname.glob(str) : Pathname.new(str) end |