waz-storage 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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