class Object
Public Instance Methods
described_container()
click to toggle source
# File lib/containerspec/rspec.rb, line 10 def described_container scope = self.is_a?(Class) ? self : self.class metahash = scope.metadata while metahash.has_key?(:parent_example_group) metahash = metahash[:parent_example_group] end metahash[:description].to_s end
docker_build(path)
click to toggle source
# File lib/containerspec/rspec.rb, line 6 def docker_build(path) Docker::Image.build_from_dir(path) end