-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolves #81 add missing methods on ostruct for Rubinius
- tested with Rubinius 2.5.2
- Loading branch information
1 parent
433bdc6
commit abbce55
Showing
2 changed files
with
4 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
require_relative 'core_ext/array' | ||
require_relative 'core_ext/numeric' | ||
#require_relative 'core_ext/ostruct' | ||
if RUBY_ENGINE == 'rbx' | ||
require_relative 'core_ext/ostruct' | ||
end |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ def [] key | |
def []= key, val | ||
send %(#{key}=), val | ||
end unless respond_to? :[]= | ||
end if RUBY_VERSION < '2.0.0' | ||
end |