Libraries
»
cheat
(1.3.3)
»
Index
»
String
»
#tail!
Method: String#tail!
Defined in:
lib/cheat/wrap.rb
#
tail!
(pos) ⇒
Object
38 39 40 41
# File 'lib/cheat/wrap.rb', line 38
def
tail!
(
pos
)
self
[
0
..
pos
]
=
""
strip!
end