Module: Vedeu::Views::Value Private

Included in:
Composition, Line, Stream, View
Defined in:
lib/vedeu/views/value.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Provides view model methods for Vedeu::Views.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

When this module is included in a class, provide ClassMethods as class methods and InstanceMethods as instance methods for the given class.

Parameters:

  • klass (Class)


137
138
139
140
# File 'lib/vedeu/views/value.rb', line 137

def self.included(klass)
  klass.extend(Vedeu::Views::Value::ClassMethods)
  klass.include(Vedeu::Views::Value::InstanceMethods)
end