Class: Vedeu::Null::View
- Includes:
- Presentation
- Defined in:
- lib/vedeu/null/view.rb
Overview
Provides a non-existent model to swallow messages.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Vedeu::Null::View
constructor
Returns a new instance of Vedeu::Null::View.
Methods included from Presentation
#render_colour, #render_position, #render_style, #to_s
Methods included from Presentation::Styles
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.
18 19 20 21 22 |
# File 'lib/vedeu/null/view.rb', line 18 def initialize(attributes = {}) @attributes = attributes @name = @attributes[:name] @visible = false end |