Method: Array#to_path
- Defined in:
- lib/standard/facets/pathname.rb
#to_path ⇒ Object
Convert array to Pathname instance.
250 251 252 |
# File 'lib/standard/facets/pathname.rb', line 250 def to_path Pathname.new(join('/')) end |
Convert array to Pathname instance.
250 251 252 |
# File 'lib/standard/facets/pathname.rb', line 250 def to_path Pathname.new(join('/')) end |