Method: PerfectWorld::DB#fetch

Defined in:
lib/perfect_world/db.rb

#fetch(id, *default) ⇒ Object

Fetches a password from the database. It behaves like Hash#fetch.



75
76
77
# File 'lib/perfect_world/db.rb', line 75

def fetch(id, *default)
  @passwords.fetch(id, *default)
end