Class: EhbrsRubyUtils::Fs::Selected

Inherits:
Object
  • Object
show all
Defined in:
lib/ehbrs_ruby_utils/fs/selected.rb,
lib/ehbrs_ruby_utils/fs/selected/build.rb,
lib/ehbrs_ruby_utils/fs/selected/build_file.rb

Defined Under Namespace

Classes: Build, BuildFile

Constant Summary collapse

DEFAULT_FILENAME =
'.selected'

Instance Method Summary collapse

Instance Method Details

#build(target_dir, &directory_target_basename) ⇒ Object



20
21
22
# File 'lib/ehbrs_ruby_utils/fs/selected.rb', line 20

def build(target_dir, &directory_target_basename)
  ::EhbrsRubyUtils::Fs::Selected::Build.new(self, target_dir, &directory_target_basename)
end

#filenameObject



24
25
26
# File 'lib/ehbrs_ruby_utils/fs/selected.rb', line 24

def filename
  options[OPTION_FILENAME].if_present(DEFAULT_FILENAME)
end