Sha256: 3c011a6e58251b2190148fbb805bb96bff3d75b32e60a4a68dab904e31ce0d49
Contents?: true
Size: 371 Bytes
Versions: 2
Compression:
Stored size: 371 Bytes
Contents
module Doggy class CLI::Delete attr_reader :options, :ids def initialize(options, ids) @options = options @ids = ids end def run begin Doggy::Dash.delete(ids) Doggy::Monitor.delete(ids) Doggy::Screen.delete(ids) rescue DoggyError puts "Delete failed." exit 1 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
doggy-0.2.2 | lib/doggy/cli/delete.rb |
doggy-0.2.0 | lib/doggy/cli/delete.rb |