Module: Shaf::Profile::UniqueId

Included in:
Attribute, Relation
Defined in:
lib/shaf/profile/unique_id.rb

Instance Method Summary collapse

Instance Method Details

#__pending_id?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/shaf/profile/unique_id.rb', line 11

def __pending_id?
  @__pending_id ||= false
end

#idObject



6
7
8
9
# File 'lib/shaf/profile/unique_id.rb', line 6

def id
  return @id if defined? @id
  @id = __find_unique_id
end