Module: Vedeu::Views::Value::SingletonMethods Private

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.

Provide additional behaviour as singleton methods to the including class or module.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#collection_klassvoid

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.



18
19
20
# File 'lib/vedeu/views/value.rb', line 18

def collection_klass
  @collection_klass
end

#deputy_klassvoid

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.



22
23
24
# File 'lib/vedeu/views/value.rb', line 22

def deputy_klass
  @deputy_klass
end

#entity_klassvoid

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.



26
27
28
# File 'lib/vedeu/views/value.rb', line 26

def entity_klass
  @entity_klass
end

#parent_klassvoid

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.



30
31
32
# File 'lib/vedeu/views/value.rb', line 30

def parent_klass
  @parent_klass
end

Instance Method Details

#collection(model) ⇒ 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.

Parameters:

  • model (void)


34
35
36
# File 'lib/vedeu/views/value.rb', line 34

def collection(model)
  @collection_klass = model
end

#deputy(model) ⇒ 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.

Parameters:

  • model (void)


40
41
42
# File 'lib/vedeu/views/value.rb', line 40

def deputy(model)
  @deputy_klass = model
end

#entity(model) ⇒ 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.

Parameters:

  • model (void)


46
47
48
# File 'lib/vedeu/views/value.rb', line 46

def entity(model)
  @entity_klass = model
end

#parent(model) ⇒ 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.

Parameters:

  • model (void)


52
53
54
# File 'lib/vedeu/views/value.rb', line 52

def parent(model)
  @parent_klass = model
end