Sha256: a62c664563f044193e51d0cc41ab1b0a2b448d1a0bdf3fa56e99e7a079eb7303

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

module Vedeu

  module Helper

    module ClassMethods
    end # ClassMethods

    module InstanceMethods
    end # InstanceMethods

    # When this module is included in a class, provide ClassMethods as class
    # methods for the class.
    #
    # @param klass [Class]
    # @return [void]
    def self.included(klass)
      klass.send :extend, ClassMethods
      klass.send :include, InstanceMethods
    end

  end # Helper

end # Vedeu

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.4.43 lib/vedeu/application/helper.rb
vedeu-0.4.42 lib/vedeu/application/helper.rb
vedeu-0.4.41 lib/vedeu/application/helper.rb