Sha256: f49a5988ce8138d680726529809b23f2b92ab7c0aca340edff63e7545e305be5

Contents?: true

Size: 119 Bytes

Versions: 8

Compression:

Stored size: 119 Bytes

Contents

class String
 alias :blank? :empty?

 def replace_all! this_string
   gsub!(/^.*$/, this_string)  
 end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sane-0.25.2 lib/sane/string.rb
sane-0.25.1 lib/sane/string.rb
sane-0.25.0 lib/sane/string.rb
sane-0.24.6 lib/sane/string.rb
sane-0.24.5 lib/sane/string.rb
sane-0.24.4 lib/sane/string.rb
sane-0.24.3 lib/sane/string.rb
sane-0.24.2 lib/sane/string.rb