Sha256: d2fb0132d913fe6dc4603bfea039392439c6eb1f88ab86bc1c128abe9a79dd30
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
# frozen_string_literal: true class Shoes module Common module Translate def translate_left @translate_left ||= begin left, _ = translate left || 0 end end def translate_top @translate_top ||= begin _, top = translate top || 0 end end def clear_translate @translate_left = nil @translate_top = nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.rc1 | lib/shoes/common/translate.rb |