I would like to understand what class << self
stands for in the next example.
module Utility
class Options #:nodoc:
class << self
def parse(args)
end
end
end
end
I would like to understand what class << self
stands for in the next example.
module Utility
class Options #:nodoc:
class << self
def parse(args)
end
end
end
end
This is an eigenclass. This question's been asked before.
this
is equivalent to:
A couple examples to help you understand :