class Vines::Command::Bcrypt
Public Instance Methods
run(opts)
click to toggle source
# File lib/vines/command/bcrypt.rb, line 6 def run(opts) raise 'vines bcrypt <clear text>' unless opts[:args].size == 1 puts BCrypt::Password.create(opts[:args].first) end