| Module | RIO::IF::String | lib/rio/if/string.rb |
Create a new Rio referencing the result of applying ::String#gsub to the value returned by Rio#to_s. So:
ario.gsub(re,string)
is equivelent to
rio(ario.to_s.gsub(re,string))
Create a new Rio referencing the result of applying ::String#sub to the value returned by Rio#to_s. So:
ario.sub(re,string)
is equivelent to
rio(ario.to_s.sub(re,string))
Copyright © 2005,2006,2007 Christopher Kleckner. All rights reserved.