Top Level Namespace
Instance Method Summary collapse
- #delete(argument) ⇒ Object
- #dir(argument) ⇒ Object
- #dirs(argument) ⇒ Object
- #ls(argument) ⇒ Object
- #mkdir(argument) ⇒ Object
- #rm(argument) ⇒ Object
- #start(argument) ⇒ Object
Instance Method Details
#delete(argument) ⇒ Object
38 39 40 |
# File 'lib/easy_commands.rb', line 38 def delete(argument) puts `delete #{argument}` end |
#dir(argument) ⇒ Object
30 31 32 |
# File 'lib/easy_commands.rb', line 30 def dir(argument) puts `dir #{argument}` end |
#dirs(argument) ⇒ Object
22 23 24 |
# File 'lib/easy_commands.rb', line 22 def dirs(argument) puts `dirs #{argument}` end |
#ls(argument) ⇒ Object
10 11 12 |
# File 'lib/easy_commands.rb', line 10 def ls(argument) puts `ls #{argument}` end |
#mkdir(argument) ⇒ Object
18 19 20 |
# File 'lib/easy_commands.rb', line 18 def mkdir(argument) puts `mkdir #{argument}` end |
#rm(argument) ⇒ Object
14 15 16 |
# File 'lib/easy_commands.rb', line 14 def rm(argument) puts `rm #{argument}` end |
#start(argument) ⇒ Object
26 27 28 |
# File 'lib/easy_commands.rb', line 26 def start(argument) puts `xdg-open #{argument}` end |