Sha256: 9318ef618cfb3979dbf701292d16170c4c30bd6bbf1fa46614b7ad453a741c49

Contents?: true

Size: 330 Bytes

Versions: 21

Compression:

Stored size: 330 Bytes

Contents

module Rudy
  module CLI
    class Candy < Rudy::CLI::CommandBase
      
      def open
        rmach = Rudy::Machines.new
        machines = rmach.list
        puts 1
        if machines
          `open http://#{machines.first.dns_public}`
        else
          puts "No machines"
        end
      end
      
    end
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
sabat-rudy-0.8.0 lib/rudy/cli/candy.rb
solutious-rudy-0.7.0 lib/rudy/cli/candy.rb
solutious-rudy-0.7.1 lib/rudy/cli/candy.rb
solutious-rudy-0.7.2 lib/rudy/cli/candy.rb
solutious-rudy-0.7.3 lib/rudy/cli/candy.rb
solutious-rudy-0.7.4 lib/rudy/cli/candy.rb
solutious-rudy-0.7.5 lib/rudy/cli/candy.rb
solutious-rudy-0.7.6 lib/rudy/cli/candy.rb
solutious-rudy-0.8.0 lib/rudy/cli/candy.rb
solutious-rudy-0.8.1 lib/rudy/cli/candy.rb
solutious-rudy-0.8.2 lib/rudy/cli/candy.rb
solutious-rudy-0.8.3 lib/rudy/cli/candy.rb
rudy-0.7.0 lib/rudy/cli/candy.rb
rudy-0.7.1 lib/rudy/cli/candy.rb
rudy-0.7.4 lib/rudy/cli/candy.rb
rudy-0.7.3 lib/rudy/cli/candy.rb
rudy-0.7.6 lib/rudy/cli/candy.rb
rudy-0.8.2 lib/rudy/cli/candy.rb
rudy-0.8.1 lib/rudy/cli/candy.rb
rudy-0.8.0 lib/rudy/cli/candy.rb