Method: Vedeu::Interfaces::Clear#initialize

Defined in:
lib/vedeu/interfaces/clear.rb

#initialize(name = Vedeu.focus) ⇒ Vedeu::Interfaces::Clear

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.

Return a new instance of Vedeu::Interfaces::Clear.

Parameters:

  • name (NilClass|Symbol|String) (defaults to: Vedeu.focus)

    The name of the model or target model to act upon. May default to ‘Vedeu.focus`.



42
43
44
# File 'lib/vedeu/interfaces/clear.rb', line 42

def initialize(name = Vedeu.focus)
  @name = present?(name) ? name : Vedeu.focus
end