Module: Jbr::Named
Overview
Extends a record Jobber lets go untitled: a visit, a job, anything somebody may have opened without ever typing a name for it.
Instance Method Summary collapse
-
#name ⇒ String
Untitled happens often enough, and something has to stand in for it on a list.
Instance Method Details
#name ⇒ String
Untitled happens often enough, and something has to stand in for it on a list.
7 |
# File 'lib/jbr/named.rb', line 7 def name = title.presence || id |