Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/rubsh.rb
Instance Method Summary collapse
Instance Method Details
#du(opt = '') ⇒ Object
137 138 139 140 141 142 143 144 145 |
# File 'lib/rubsh.rb', line 137 def du(opt='') switch = '' if (opt.class == Symbol) switch = '-' + opt.to_s else switch = opt end self.each { |f| system("du #{switch} '#{f}'"); } end |