Class: EacTemplates::Modules::Base::File
Instance Method Summary
collapse
Methods included from FsObject
#self_ancestor
#content, #path
#applier, #applier_class, assert, by_subpath, #category_module, #path_for_search, #path_for_search_prefix, #raise_not_found, #source_set, #to_s, #type, #type_list
Instance Method Details
11
12
13
|
# File 'lib/eac_templates/modules/base/file.rb', line 11
def basename
ancestor_found.if_present(&:basename)
end
|
#found? ⇒ Boolean
15
16
17
|
# File 'lib/eac_templates/modules/base/file.rb', line 15
def found?
ancestor_found.present?
end
|