Class: Vedeu::Null::View

Inherits:
Generic show all
Includes:
Presentation
Defined in:
lib/vedeu/null/view.rb

Overview

Provides a non-existent model to swallow messages.

Instance Method Summary collapse

Methods included from Presentation

#render_colour, #render_position, #render_style, #to_s

Methods included from Presentation::Styles

#style, #style=

Methods included from Presentation::Colour

#background, #background=, #colour, #colour=, #foreground, #foreground=

Constructor Details

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

Returns a new instance of Vedeu::Null::View.

Options Hash (attributes):

  • name (String)


18
19
20
21
22
# File 'lib/vedeu/null/view.rb', line 18

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