Sha256: ca8232e8f29034890ff8df19fdc4ab878305f38ec1cc8cc035f85450eeef6b6b
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
# -*- coding: utf-8 -*- require 'xot/setter' require 'xot/block_util' require 'reflex/ext' module Reflex class StyleLength2 include Xot::Setter alias w= width= alias w width alias h= height= alias h height def initialize (opts = {}, &block) super() set opts Xot::BlockUtil.instance_eval_or_block_call self, &block if block end def to_a () [width, height] end end# StyleLength2 end# Reflex
Version data entries
5 entries across 5 versions & 1 rubygems