Different ways to define singleton methods in Ruby
As we know from The Philosophy of Ruby, Ruby inherited the Perl philosophy of having more than one way to do the same thing. So that, there are many ways to define singleton methods in Ruby.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
As we know from The Philosophy of Ruby, Ruby inherited the Perl philosophy of having more than one way to do the same thing. So that, there are many ways to define singleton methods in Ruby.
Post a comment