Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 10dc43289c
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.239 kB
module Identified
def name_and_id
describe = ""
if respond_to?(:name) && name
describe += "#{name}"
text_added = true
end
describe += (text_added ? " (#{id})" : "(#{id})") if respond_to?(:id) && id
end
end
Jump to Line
Something went wrong with that request. Please try again.