Ruby
pry
specinfra

pryでSpecinfraを試す

More than 3 years have passed since last update.

pryでSpecinfraを試す。


バージョン

$ bundle show specinfra

/var/lib/gems/2.2.0/gems/specinfra-2.43.0


pry

$ pry

[1] pry(main)> require 'specinfra'
=> true
[2] pry(main)> require 'specinfra/helper/set'
=> true
[3] pry(main)> include Specinfra::Helper::Set
=> Object
[4] pry(main)> set :backend, :exec
=> :exec
[5] pry(main)> host_inventory['hostname']
=> "82b2db5a2096"