4 5 6 7 8 9
# File 'lib/sekt/cli/get_bottle.rb', line 4 def get_bottle!(id) @cellar ||= Cellar.new bottle = @cellar.get_bottle(id) raise "Failed to find bottle: #{id}" unless bottle return bottle end