Class: Vedeu::Menus::Null

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

Overview

Provides a non-existent model to swallow messages.

Instance Method Summary collapse

Constructor Details

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

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

Parameters:

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

Options Hash (attributes):

  • name (String|Symbol|NilClass)


14
15
16
17
# File 'lib/vedeu/menus/null.rb', line 14

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