Class: PortableText::Html::BaseComponent

Inherits:
Phlex::HTML
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/portable_text/html/base_component.rb

Class Method Summary collapse

Class Method Details

.option(*args, **kwargs, &block) ⇒ Object



10
11
12
# File 'lib/portable_text/html/base_component.rb', line 10

def self.option(*args, **kwargs, &block)
  super(*args, reader: false, **kwargs, &block)
end

.param(*args, **kwargs, &block) ⇒ Object



14
15
16
# File 'lib/portable_text/html/base_component.rb', line 14

def self.param(*args, **kwargs, &block)
  super(*args, reader: false, **kwargs, &block)
end