Class: EacTemplates::Modules::Ancestor::Directory

Inherits:
Abstract::Directory show all
Includes:
FsObject
Defined in:
lib/eac_templates/modules/ancestor/directory.rb

Instance Method Summary collapse

Methods included from FsObject

#path_for_search, #to_s

Methods inherited from Abstract::Directory

#build_child, #child, #children

Methods inherited from Abstract::FsObject

#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

#children_basenamesHash<Pathname, Symbol>

Returns:

  • (Hash<Pathname, Symbol>)


16
17
18
# File 'lib/eac_templates/modules/ancestor/directory.rb', line 16

def children_basenames
  source_object.children_basenames.to_h { |k, v| parse_child_basename(k, v) }
end