class Sprinkle::Commands::Command
Public Class Methods
new(str, opts = {})
click to toggle source
# File lib/sprinkle/commands/command.rb, line 5 def initialize(str, opts = {}) @sudo = opts[:sudo] @str = str # this is a dummy class for now, not intended to be used directly raise end
Public Instance Methods
string()
click to toggle source
# File lib/sprinkle/commands/command.rb, line 16 def string # TODO: sudo @str end
sudo?()
click to toggle source
# File lib/sprinkle/commands/command.rb, line 12 def sudo? @sudo end