lib/qlang/api.rb in qlang-0.0.14142135 vs lib/qlang/api.rb in qlang-0.0.27000000
- old
+ new
@@ -22,9 +22,13 @@
rm!(str_or_rgx)
end
self
end
+ def split_by_sp
+ split(/ +/)
+ end
+
# FIX:
def equalize!
rms!(/\A +/, / +\z/)
if self =~ /\A\(/ && self =~ /\)\z/
rms!(/\A\(/, /\)\z/)