Sha256: 724ccbb52fb548cace340a86ec2e26b873ab6bf569479b6de7429b53b7ba18bd
Contents?: true
Size: 273 Bytes
Versions: 2
Compression:
Stored size: 273 Bytes
Contents
# frozen_string_literal: true class Scarpe class Alert < Scarpe::Widget display_property :text def initialize(text) @text = text super bind_self_event("click") do destroy_self end create_display_widget end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scarpe-0.2.1 | lib/scarpe/alert.rb |
scarpe-0.2.0 | lib/scarpe/alert.rb |