Class: NullProject

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

Instance Method Summary collapse

Instance Method Details

#hidden?Boolean



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

def hidden?
  false
end

#idObject



177
178
179
# File 'app/models/project.rb', line 177

def id
  nil
end

#nameObject



181
182
183
# File 'app/models/project.rb', line 181

def name
  ""
end

#nil?Boolean



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

def nil?
  true
end

#persisted?Boolean



185
186
187
# File 'app/models/project.rb', line 185

def persisted?
  false
end