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
13 14 15 |
# File 'lib/ehbrs_ruby_utils/fs/selected/build_file.rb', line 13 def perform target_path.assert_parent.make_symlink(path) end |
#target_basename ⇒ Object
21 22 23 |
# File 'lib/ehbrs_ruby_utils/fs/selected/build_file.rb', line 21 def target_basename build.target_basename_proc.call(path) end |
#target_path ⇒ Object
17 18 19 |
# File 'lib/ehbrs_ruby_utils/fs/selected/build_file.rb', line 17 def target_path build.target_dir.join(target_basename) end |