Class: NullProject

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

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) hidden?

Returns:

  • (Boolean)


162
163
164
# File 'app/models/project.rb', line 162

def hidden?
  false
end

- (Object) id



170
171
172
# File 'app/models/project.rb', line 170

def id
  nil
end

- (Object) name



174
175
176
# File 'app/models/project.rb', line 174

def name
  ""
end

- (Boolean) nil?

Returns:

  • (Boolean)


166
167
168
# File 'app/models/project.rb', line 166

def nil?
  true
end