class Rncher::App
Public Instance Methods
list()
click to toggle source
# File lib/rncher/app.rb, line 5 def list table = TTY::Table.new header: ['id','name','state'] App.where(system: false).each do |app| table << [app.id, app.name, app.state] end puts table.render(:ascii, border:{separator: :each_row}) end