Created
March 29, 2018 22:25
-
-
Save ludyna/2376f64050ff49136279a20a145e40b8 to your computer and use it in GitHub Desktop.
sadlfjdslkf
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 Some | |
end | |
obj = Some.new | |
class << obj | |
def hello | |
puts 'hello' | |
end | |
end | |
obj.hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment