Class: BugHunter::Project
- Inherits:
-
Object
- Object
- BugHunter::Project
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- lib/bug_hunter/models.rb
Class Method Summary collapse
Class Method Details
.instance ⇒ Object
193 194 195 196 197 198 199 |
# File 'lib/bug_hunter/models.rb', line 193 def self.instance if project = BugHunter::Project.first project else BugHunter::Project.create end end |