Class: Vedeu::Null::Interface
- Includes:
- Presentation
- Defined in:
- lib/vedeu/null/interface.rb
Overview
Provides a non-existent model to swallow messages.
Instance Attribute Summary collapse
- #attributes ⇒ String readonly
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Vedeu::Null::Interface
constructor
Returns a new instance of Vedeu::Null::Interface.
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::Interface
Returns a new instance of Vedeu::Null::Interface.
22 23 24 25 26 |
# File 'lib/vedeu/null/interface.rb', line 22 def initialize(attributes = {}) @attributes = attributes @name = @attributes[:name] @visible = false end |
Instance Attribute Details
#attributes ⇒ String (readonly)
15 16 17 |
# File 'lib/vedeu/null/interface.rb', line 15 def attributes @attributes end |