Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/smusher.rb

Instance Method Summary collapse

Instance Method Details

#-(arg) ⇒ Object



6
7
8
9
10
# File 'lib/rack/smusher.rb', line 6

def - arg
  copy = self.dup
  copy[arg] = ""
  return copy
end