Class: Vedeu::Menus::Null Private

Inherits:
Null::Generic show all
Defined in:
lib/vedeu/menus/null.rb

Overview

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

Provides a non-existent model to swallow messages.

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Vedeu::Menus::Null

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.

Returns an instance of the Vedeu::Menus::Null class.

Parameters:

  • attributes (Hash<Symbol => void>) (defaults to: {})

Options Hash (attributes):

  • name (String|Symbol|NilClass)


16
17
18
19
# File 'lib/vedeu/menus/null.rb', line 16

def initialize(attributes = {})
  @attributes = attributes
  @name       = @attributes[:name]
end