Class: Amiba::Page::List

Inherits:
Thor::Group
  • Object
show all
Includes:
Generator
Defined in:
lib/amiba/page.rb

Overview

Lists all pages currently managed by this Amiba project

Instance Method Summary collapse

Methods included from Generator

included

Instance Method Details

#listObject



125
126
127
# File 'lib/amiba/page.rb', line 125

def list
  Dir.glob("pages/*").each {|p| say File.basename(p)}
end