Sha256: 860ad0c53fc7298ce6ff529ac8d51d5c8c74c44779285415872de1830ba070ff

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

module Vedeu

  module View

    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 # View

end # Vedeu

Version data entries

3 entries across 3 versions & 1 rubygems

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