class << self def call(*arg) ... end end
def self.call(*arg) ... end
user.otp_code # => '850738'
qr = RQRCode::QRCode.new('http://github.com') result = '' qr.qrcode.modules.each do |row| row.each do |col| result << (col ? 'X' : 'O') end result << "\n" end
this.playerTarget
you could use a DOM selector like document.getElementById