Class: Racket::Utils::FileSystem::PathBuilder
- Inherits:
-
Object
- Object
- Racket::Utils::FileSystem::PathBuilder
- Defined in:
- lib/racket/utils/file_system.rb
Overview
Build path in the filesystem.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Class Method Summary collapse
-
.to_pathname(root_dir, *args) ⇒ Pathname
Creates a new instance of PathBuilder using
args
and then returning the final path as a Pathname.
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
54 55 56 |
# File 'lib/racket/utils/file_system.rb', line 54 def path @path end |
Class Method Details
.to_pathname(root_dir, *args) ⇒ Pathname
Creates a new instance of PathBuilder using args
and then returning the final path as a Pathname.
50 51 52 |
# File 'lib/racket/utils/file_system.rb', line 50 def self.to_pathname(root_dir, *args) new(root_dir, args).path end |