class Sheet::List
Public Instance Methods
list()
click to toggle source
# 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