Class: Vedeu::Null::Generic

Inherits:
Object
  • Object
show all
Defined in:
lib/vedeu/null/generic.rb

Overview

Provides a non-existent model to swallow messages.

Instance Method Summary collapse

Constructor Details

#initializeVedeu::Null::Generic

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



11
# File 'lib/vedeu/null/generic.rb', line 11

def initialize; end

Instance Method Details

#addNilClass



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

def add(*)
  nil
end

#colourNilClass



19
20
21
# File 'lib/vedeu/null/generic.rb', line 19

def colour
  nil
end

#parentNilClass



24
25
26
# File 'lib/vedeu/null/generic.rb', line 24

def parent
  nil
end

#storeVedeu::Null::Generic



29
30
31
# File 'lib/vedeu/null/generic.rb', line 29

def store
  self
end

#styleNilClass



34
35
36
# File 'lib/vedeu/null/generic.rb', line 34

def style
  nil
end

#visible=FalseClass



47
48
49
# File 'lib/vedeu/null/generic.rb', line 47

def visible=(*)
  false
end

#visible?FalseClass Also known as: visible

The generic null should not be visible.



41
42
43
# File 'lib/vedeu/null/generic.rb', line 41

def visible?
  false
end