inclusion 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/inclusion/inclusion.rb +5 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbf1d5af24c3d43c86651ea414307da8c334bb9e
4
- data.tar.gz: 78b3d1c355ecfd9b1aaf02c2a6594b4a1d23a351
3
+ metadata.gz: a9870e2b6c89c98d673437921b047f1f64062429
4
+ data.tar.gz: e4b0398b983808e106cd79e7ff4885c39820c4a0
5
5
  SHA512:
6
- metadata.gz: 989dfd112c641bca49bdd8e49396b0334efcf9379e785866f19026f221264d44821dae62b1d0eb35d325ba62aa76288bb7eab798af8f1a958cabba9afc69409a
7
- data.tar.gz: de3c90c5a18a5ca762d4e8f078a260829be6b98cc0d440e9127e4424288d0f888f854ba050ea4cd197861f66535d3ab5af5a8fc2e0c1ec686f9ea5b7a2d4b682
6
+ metadata.gz: 9631c9499347dc3534b108d84eb7d8c0d34dd9eabfba8e3c30b52d48d5a80648a0b4715160625c08fe5c5237903285e741e614f886d076fd3084e427a47ace66
7
+ data.tar.gz: 91848a49d700310a0b4c10241eb6e8d7fc10393bd06eaa2bd3612c35f4508e6626207899c4e428d1e2c8d98a5c1bdbfc3930dae0d8ffdf2e48e6d27a95acd30e
@@ -9,7 +9,11 @@ class Inclusion
9
9
 
10
10
  def self.!(obj, inclusion_name)
11
11
  instance = new obj, inclusion_name
12
- instance.extend_obj
12
+ instance.!
13
+ end
14
+
15
+ def !
16
+ extend_obj
13
17
  end
14
18
 
15
19
  def extend_obj
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inclusion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Sans Collective
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-12 00:00:00.000000000 Z
11
+ date: 2015-05-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Extend an object by a module within its namespace
14
14
  email: