refinement_builder 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dfddc8070140a05c4263a40bc5708407582f568
|
4
|
+
data.tar.gz: 839e51513d91f54e95073d5fc6a2572c570b2823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053acdaccb55a4be22057328ec08f792dbfcfcbf815b0204b6bd2b678d1a1cdf0068801a642ab37855528d8fd4bf48271a573d4eb9d74eb840cdd411275f5000
|
7
|
+
data.tar.gz: 8ab107e1b022d14fae2c716aeceff2aa667d61f4830d2864f23f9654401256e83632d38666308bf7034bd159d9fb6eb5fbf4b3ede6dd659e2c99e4366cc0d501
|
data/README.md
CHANGED
@@ -66,15 +66,15 @@ The `StringPatch` has its methods accessible in the same 3 ways as `RefinementBu
|
|
66
66
|
|
67
67
|
2. Mixin:
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
69
|
+
String.include StringPatch
|
70
|
+
"hello world".print_first_5_characters
|
71
|
+
# => hello
|
72
72
|
|
73
73
|
3. refinement:
|
74
74
|
|
75
|
-
|
76
|
-
|
77
|
-
|
75
|
+
using StringPatch
|
76
|
+
"hello world.print_first_5_characters
|
77
|
+
# => hello
|
78
78
|
|
79
79
|
## Under the hood
|
80
80
|
Under the hood, what happens is this:
|
data/lib/version.rb
CHANGED