Sha256: 48425679bf11108da583804a8d9b28a654eab9d4e4c1ba88d8bdfdb1aa2a1e17
Contents?: true
Size: 678 Bytes
Versions: 18
Compression:
Stored size: 678 Bytes
Contents
require 'rabbit/element/base' require 'rabbit/element/text-container-element' module Rabbit module Element class WaitTag include Base def have_wait_tag? true end def text "" end def markuped_text "" end def to_html(generator) "" end def draw_element(canvas, x, y, w, h, simulation) [x, y, w, h] end end class CustomTag include TextContainerElement attr_reader :name def initialize(name, elements=[]) super(elements) @name = name end def have_tag?(name) @name == name end end end end
Version data entries
18 entries across 18 versions & 1 rubygems