Class: Vedeu::Null::Interface

Inherits:
Generic
  • Object
show all
Includes:
Presentation
Defined in:
lib/vedeu/null/interface.rb

Overview

Provides a non-existent model to swallow messages.

Instance Attribute Summary collapse

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::Interface

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

Options Hash (attributes):

  • name (String)


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

#attributesString (readonly)



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

def attributes
  @attributes
end