Class: NullContext

Inherits:
Object
  • Object
show all
Defined in:
app/models/context.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) id



64
65
66
# File 'app/models/context.rb', line 64

def id
  nil
end

- (Object) name



68
69
70
# File 'app/models/context.rb', line 68

def name
  ''
end

- (Boolean) nil?

Returns:

  • (Boolean)


60
61
62
# File 'app/models/context.rb', line 60

def nil?
  true
end