run
5 6 7 8 9 10 11 12 13 14 15
# File 'lib/osctl/exportfs/operations/server/list.rb', line 5 def execute ret = [] Dir.entries(RunState::SERVERS).each do |v| next if %w[. ..].include?(v) ret << OsCtl::ExportFS::Server.new(v) end ret end