Class: PapyTools::CommandeListTemplate
- Defined in:
- lib/papy-tools/commande.rb
Instance Method Summary collapse
-
#initialize ⇒ CommandeListTemplate
constructor
A new instance of CommandeListTemplate.
- #run(options = {}) ⇒ Object
Methods inherited from Commande
Constructor Details
#initialize ⇒ CommandeListTemplate
Returns a new instance of CommandeListTemplate.
114 115 |
# File 'lib/papy-tools/commande.rb', line 114 def initialize end |
Instance Method Details
#run(options = {}) ⇒ Object
117 118 119 120 121 122 |
# File 'lib/papy-tools/commande.rb', line 117 def run(={}) liste=Dir.entries("template")-[".",".."] puts "liste des templates" puts "-------------------" liste.each {|t| puts t} end |