string_plus 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ca9e13243b9c565286047667ecccf090fba5733
4
- data.tar.gz: af81e5466f9f38e83a234fd08750f45bdb2ffd3a
3
+ metadata.gz: fb03844fc3c37a46e3d9930cb42e9faa0ef6c285
4
+ data.tar.gz: 4a9b53d304f7854c0ceb597933158c1093b5c385
5
5
  SHA512:
6
- metadata.gz: 0bba3cff8accd05c32d67a3731dfdae0afdef42a6e80236b6602c1d882d01f49142d6b61ffaad55554b547b2d49b1c537442818b6bd436d205175fa66906e3a3
7
- data.tar.gz: bb70d6d2d809856f245b2d47222b564e83000170c68b96a982c68f7a67fa61ac400d9e108d3bd39b32c2d6b4df8849ab6a70e317fc7f55ec1bf83a190f0a0cb5
6
+ metadata.gz: 60ddcda54dade6a1014a6779984efafa30173479e46b446eef93b940857e830ef19871a174edf5b7e2b198f1ec0f3bc86a04610d7cf3023cb775387ef0a8c7de
7
+ data.tar.gz: 52f5635f40103ee70326c5abd92a04ed557cb26e4838b97b17af2cd80f14adc5e1b0dfd814772a2565cee073e838ce2e2826f31d64973e821e894108fcdd6f81
@@ -1,3 +1,3 @@
1
1
  module StringPlus
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/string_plus.rb CHANGED
@@ -20,6 +20,9 @@ module StringPlus
20
20
  camelcase(false)
21
21
  end
22
22
 
23
+ def constantize
24
+ Object.send(:const_get, self.camelcase)
25
+ end
23
26
  end
24
27
 
25
28
  String.send(:include, StringPlus)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: string_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti