chainable 0.4.0 → 0.4.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.
- data/README.rdoc +2 -6
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This is heavy ruby abuse. It even got the <b>Evil of the Day Award™</b> from zenspider.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Only works with Ruby 1.8, make sure you have chainable >= 0.4.0.
|
|
6
6
|
|
|
7
7
|
== Thou shalt not use alias_method_chain!
|
|
8
8
|
- http://yehudakatz.com/2009/03/06/alias_method_chain-in-models
|
|
@@ -170,12 +170,8 @@ chain_method tends do produce slightly faster methods than alias_method_chain:
|
|
|
170
170
|
alias_method_chain (define_method) 3.470000 0.590000 4.060000 ( 4.096245)
|
|
171
171
|
|
|
172
172
|
== Installation
|
|
173
|
-
From RubyForge:
|
|
174
|
-
gem install chainable
|
|
175
173
|
|
|
176
|
-
|
|
177
|
-
gem sources -a http://gems.github.com
|
|
178
|
-
gem install rkh-chainable
|
|
174
|
+
gem install chainable
|
|
179
175
|
|
|
180
176
|
== Running test
|
|
181
177
|
|