waz-storage 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/waz-storage.rb +1 -1
- data/lib/waz/storage/version.rb +1 -1
- metadata +1 -1
data/lib/waz-storage.rb
CHANGED
@@ -8,7 +8,7 @@ require 'waz/storage/version'
|
|
8
8
|
# but this method is required so we will add it the String class.
|
9
9
|
unless String.method_defined? :start_with?
|
10
10
|
class String
|
11
|
-
def
|
11
|
+
def start_with?(prefix)
|
12
12
|
prefix = prefix.to_s
|
13
13
|
self[0, prefix.length] == prefix
|
14
14
|
end
|
data/lib/waz/storage/version.rb
CHANGED