class Object
Public Instance Methods
delete(argument)
click to toggle source
# File lib/easy_commands.rb, line 38 def delete(argument) puts `delete #{argument}` end
dir(argument)
click to toggle source
# File lib/easy_commands.rb, line 30 def dir(argument) puts `dir #{argument}` end
dirs(argument)
click to toggle source
# File lib/easy_commands.rb, line 22 def dirs(argument) puts `dirs #{argument}` end
ls(argument)
click to toggle source
# File lib/easy_commands.rb, line 10 def ls(argument) puts `ls #{argument}` end
mkdir(argument)
click to toggle source
# File lib/easy_commands.rb, line 18 def mkdir(argument) puts `mkdir #{argument}` end
rm(argument)
click to toggle source
# File lib/easy_commands.rb, line 14 def rm(argument) puts `rm #{argument}` end
start(argument)
click to toggle source
# File lib/easy_commands.rb, line 26 def start(argument) puts `xdg-open #{argument}` end