Skip to content

Instantly share code, notes, and snippets.

@embasbm
Last active September 3, 2015 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save embasbm/2764f8140bdb275d9f97 to your computer and use it in GitHub Desktop.
Save embasbm/2764f8140bdb275d9f97 to your computer and use it in GitHub Desktop.
Inheritance in rUBY
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