Class: EhbrsRubyUtils::Fs::Selected::BuildFile
- Inherits:
-
Object
- Object
- EhbrsRubyUtils::Fs::Selected::BuildFile
- Defined in:
- lib/ehbrs_ruby_utils/fs/selected/build_file.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
11 12 13 |
# File 'lib/ehbrs_ruby_utils/fs/selected/build_file.rb', line 11 def perform target_path.assert_parent.make_symlink(path) end |
#target_basename ⇒ Object
19 20 21 |
# File 'lib/ehbrs_ruby_utils/fs/selected/build_file.rb', line 19 def target_basename build.target_basename_proc.call(path) end |
#target_path ⇒ Object
15 16 17 |
# File 'lib/ehbrs_ruby_utils/fs/selected/build_file.rb', line 15 def target_path build.target_dir.join(target_basename) end |