Class: Endo::CLI
- Inherits:
-
Thor
- Object
- Thor
- Endo::CLI
- Defined in:
- lib/endo/cli.rb
Instance Method Summary collapse
Instance Method Details
#exec(endo_file = nil) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/endo/cli.rb', line 9 def exec(endo_file = nil) if endo_file.nil? Dir.glob('endo/*.rb').each do |f| exec_proc(f) end else exec_proc(endo_file) end end |