Sha256: 3511ad4188c5220b79c176b81d24649096c4c73952feffb23ca560a6e895569e

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

module SmallCage::Commands
  #
  # smc commands base class
  #
  class Base
    def self.execute(opts)
      new(opts).execute
    end

    def initialize(opts)
      @opts = opts
    end

    def execute
    end

    def quiet?
      @opts[:quiet]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
smallcage-0.3.2 lib/smallcage/commands/base.rb
smallcage-0.3.1 lib/smallcage/commands/base.rb
smallcage-0.3.0 lib/smallcage/commands/base.rb
smallcage-0.2.9 lib/smallcage/commands/base.rb
smallcage-0.2.8 lib/smallcage/commands/base.rb
smallcage-0.2.7 lib/smallcage/commands/base.rb