methods 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/methods/methods_wrapper.rb +1 -1
- data/lib/methods/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b5c3db6585a5f5441879deead1ad9654e76dd2c
|
|
4
|
+
data.tar.gz: 2da240169ae947e46bf26b9b7f65b0ee0322d165
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 687b9f065eddf80c3752bc4dc3c541e205fe23d719de2ae641e120c56359dc4378d0e0c077005b72035a4600c9535482e94b3d05c88edfcbf51ad722c74bfee6
|
|
7
|
+
data.tar.gz: e33b47bedfa649375460547c4877eda94d8368c84ba63480f88379552cc8fb13be3629ba173626c8fb0a0a803a8a523eea3e4a9ae930467bb12bc44c13a0a30d
|
data/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Methods
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://badge.fury.io/rb/methods)
|
|
4
|
+

|
|
4
5
|
|
|
5
|
-
It allows you to grab a reference to a method by simply calling `method` on an object and calling the method you want on the result
|
|
6
|
+
This gem aims at making referencing methods in the Ruby language easier. It is greatly inspired by [this issue on the Ruby bug tracker](https://bugs.ruby-lang.org/issues/13581). It allows you to grab a reference to a method by simply calling `method` on an object and calling the method you want on the result
|
|
6
7
|
|
|
7
8
|
```
|
|
8
9
|
irb(main):006:0> Math.method.sqrt
|
data/lib/methods/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: methods
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Artur Roszczyk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: binding_of_caller
|