Method: Sheet::List#list
- Defined in:
- lib/sheet/list.rb
#list ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/sheet/list.rb', line 4 def list if Sheet.sheets_directory_exists? Sheet.exec("ls -1 #{Sheet.sheets_dir}", true) else Sheet.display("No sheet found. Create a new sheet with `sheet new <name>`") end end |