-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ruby 1.8.6 didn;t seem to like my define methods, added class_eval st…
…rings, not as nice though
- Loading branch information
Matt Haynes
committed
Jun 16, 2010
1 parent
a344e5e
commit 2fb0680
Showing
5 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "chart-topper" | ||
s.version = "0.0.1" | ||
s.version = "0.0.2" | ||
s.author = "Matt Haynes" | ||
s.email = "[email protected]" | ||
s.homepage = "http://github.com/matth/chart-topper/tree/master" | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 comments
on commit 2fb0680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In 1.8.6, blocks cannot take a block argument. But I think it's high time to drop 1.8.6 support anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rkh Yep, sounds reasonable and the clas_eval is a pretty ugly solution. Just need to get my work machine's updated :)
define_method(method) do |*args|