Class: NullProject

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

Instance Method Summary collapse

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


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

def hidden?
  false
end

#idObject



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

def id
  nil
end

#nameObject



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

def name
  ""
end

#nil?Boolean

Returns:

  • (Boolean)


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

def nil?
  true
end