Rails class << self

Posted by xpepermint on Stack Overflow See other posts from Stack Overflow or by xpepermint
Published on 2010-04-02T16:58:46Z Indexed on 2010/04/02 17:03 UTC
Read the original article Hit count: 316

Hey. 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

Thx!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about class