Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use rubyspec for observer and delegate specs
- Loading branch information
1 parent
3c44c92
commit bf9ede4
Showing
11 changed files
with
16 additions
and
206 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
opal_filter "Delegate" do | ||
fails "SimpleDelegator.new forwards protected method calls" | ||
fails "SimpleDelegator.new doesn't forward private method calls" | ||
fails "SimpleDelegator.new doesn't forward private method calls even via send or __send__" | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -23,3 +23,7 @@ def __setobj__(obj) | |
@delegate_sd_obj = obj | ||
end | ||
end | ||
|
||
def DelegateClass(superklass) | ||
SimpleDelegator | ||
end |