Last active
September 3, 2015 14:31
-
-
Save embasbm/2764f8140bdb275d9f97 to your computer and use it in GitHub Desktop.
Inheritance in rUBY
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
class MyEnumerator < Enumerator | |
def initialize(*) | |
super() do |yielder| | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment