Class: ODDB::View::TestDescription::StubSession

Inherits:
Object
  • Object
show all
Defined in:
test/test_view/descriptionform.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) app



33
34
35
# File 'test/test_view/descriptionform.rb', line 33

def app 
  self
end

- (Object) error(key)



39
40
41
# File 'test/test_view/descriptionform.rb', line 39

def error(key)
  nil
end

- (Boolean) error?

Returns:

  • (Boolean)


36
37
38
# File 'test/test_view/descriptionform.rb', line 36

def error?
  false
end

- (Object) lookandfeel



42
43
44
# File 'test/test_view/descriptionform.rb', line 42

def lookandfeel
  StubLookandfeel.new
end

- (Object) state



45
46
47
# File 'test/test_view/descriptionform.rb', line 45

def state
  self
end

- (Boolean) warning?

Returns:

  • (Boolean)


48
49
50
# File 'test/test_view/descriptionform.rb', line 48

def warning?
  false
end

- (Object) zone



51
52
53
# File 'test/test_view/descriptionform.rb', line 51

def zone
  'twilight'
end