Sha256: 7ae47a9c33a5e52153d09a86097d087134878b82531943932005c26e23ac43a8

Contents?: true

Size: 380 Bytes

Versions: 4

Compression:

Stored size: 380 Bytes

Contents

module Sprinkle
  module Commands
    class Command
      
      def initialize(str, opts = {})
        @sudo = opts[:sudo]
        @str = str
        # this is a dummy class for now, not intended to be used directly
        raise
      end
      
      def sudo?
        @sudo
      end
      
      def string
        # TODO: sudo
        @str
      end
      
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sprinkle-0.7.7 lib/sprinkle/commands/command.rb
sprinkle-0.7.6.2 lib/sprinkle/commands/command.rb
sprinkle-0.7.6.1 lib/sprinkle/commands/command.rb
sprinkle-0.7.6 lib/sprinkle/commands/command.rb