sprinkle-tool/sprinkle

View on GitHub
lib/sprinkle/commands/command.rb

Summary

Maintainability
A
0 mins
Test Coverage
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