Class: Plushie::Event::Effect::Result::ClipboardHtml

Inherits:
Data
  • Object
show all
Defined in:
lib/plushie/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(html:, alt_text: nil) ⇒ ClipboardHtml

Returns a new instance of ClipboardHtml.



217
218
219
# File 'lib/plushie/event.rb', line 217

def initialize(html:, alt_text: nil)
  super
end

Instance Attribute Details

#alt_textObject (readonly)

Returns the value of attribute alt_text

Returns:

  • (Object)

    the current value of alt_text



216
217
218
# File 'lib/plushie/event.rb', line 216

def alt_text
  @alt_text
end

#htmlObject (readonly)

Returns the value of attribute html

Returns:

  • (Object)

    the current value of html



216
217
218
# File 'lib/plushie/event.rb', line 216

def html
  @html
end