Class: NullContext

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

Instance Method Summary collapse

Instance Method Details

#idObject



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

def id
  nil
end

#nameObject



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

def name
  ''
end

#nil?Boolean

Returns:

  • (Boolean)


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

def nil?
  true
end