Method: Cotta::InMemorySystem#list
- Defined in:
- lib/cotta/impl/in_memory_system.rb
#list(pathname) ⇒ Object
53 54 55 56 57 |
# File 'lib/cotta/impl/in_memory_system.rb', line 53 def list(pathname) check_dir_exists(pathname) content = path_content(pathname) return content.children.collect {|item| item.name} end |