soveran-override 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/override.rb +0 -6
  2. metadata +1 -1
data/lib/override.rb CHANGED
@@ -22,12 +22,6 @@
22
22
  require "rubygems"
23
23
  require "metaid"
24
24
 
25
- # def override object, method, result
26
- # object.metaclass.send(:define_method, method) do |*_|
27
- # result
28
- # end
29
- # end
30
-
31
25
  def override object, methods
32
26
  methods.each do |method, result|
33
27
  object.metaclass.send(:define_method, method) do |*_|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soveran-override
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Martens