Method: ActiveRecord::DatabaseMutex::Implementation#to_s

Defined in:
lib/active_record/database_mutex/implementation.rb

#to_sString Also known as: inspect

The to_s method returns a string representation of this DatabaseMutex instance.

Returns:

  • (String)

    the string representation of this DatabaseMutex instance



226
227
228
# File 'lib/active_record/database_mutex/implementation.rb', line 226

def to_s
  "#<#{self.class} #{name}>"
end