Trocla::Formats::Base
# File lib/trocla/formats/bcrypt.rb, line 4 def format(plain_password,options={}) BCrypt::Password.create(plain_password, :cost => options['cost']||BCrypt::Engine.cost).to_s end