# File src/card.rb, line 73 def face(path) @img[:face] = Image.load path @hash[:face][:scalex] = @w.to_f / @img[:face].width @hash[:face][:scaley] = @h.to_f / @img[:face].height @@img = @img @@hash = @hash end