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, #type, #type_list
Instance Method Details
15
16
17
|
# File 'lib/eac_templates/modules/base/file.rb', line 15
def basename
ancestor_found.if_present(&:basename)
end
|
#found? ⇒ Boolean
19
20
21
|
# File 'lib/eac_templates/modules/base/file.rb', line 19
def found?
ancestor_found.present?
end
|