Sha256: 4da291d7128241842cbeea8d6b37df2010dbc04d7d373decfcd436b91e85f1ab

Contents?: true

Size: 481 Bytes

Versions: 36

Compression:

Stored size: 481 Bytes

Contents

#!/usr/bin/ruby

# Tryout - A basic use-case
#

$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
%w{drydock caesars rye}.each { |dir| $: << File.join(File.dirname(__FILE__), '..', '..', dir, 'lib') }

require 'rudy'


machine1 = Rudy::Machine.new
Rudy::Huxtable.change_environment(:prod)
machine2 = Rudy::Machine.new

puts machine1.name
puts machine2.name
puts machine2.s

#rmach = Rudy::Machines.new
#machine = rmach.create(:position => 1)
#machine.upload('/some/file')

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
solutious-rudy-0.9.0 tryouts/misc/usage_tryout.rb
solutious-rudy-0.9.1 tryouts/exploration/machine.rb
solutious-rudy-0.9.2 tryouts/exploration/machine.rb
solutious-rudy-0.9.3 tryouts/exploration/machine.rb
solutious-rudy-0.9.4 tryouts/exploration/machine.rb
rudy-0.9.8.020 tryouts/exploration/machine.rb
rudy-0.9.8.019 tryouts/exploration/machine.rb
rudy-0.9.8.018 tryouts/exploration/machine.rb
rudy-0.9.8.017 tryouts/exploration/machine.rb
rudy-0.9.8.016 tryouts/exploration/machine.rb
rudy-0.9.8.015 tryouts/exploration/machine.rb
rudy-0.9.8.014 tryouts/exploration/machine.rb
rudy-0.9.8.013 tryouts/exploration/machine.rb
rudy-0.9.8.012 tryouts/exploration/machine.rb
rudy-0.9.8.011 tryouts/exploration/machine.rb
rudy-0.9.8.010 tryouts/exploration/machine.rb
rudy-0.9.8.009 tryouts/exploration/machine.rb
rudy-0.9.8.008 tryouts/exploration/machine.rb
rudy-0.9.8.007 tryouts/exploration/machine.rb
rudy-0.9.8.006 tryouts/exploration/machine.rb