module Formalist::RichText::EmbeddedFormsContainer::Mixin::Methods
Public Instance Methods
register(key, **attrs)
click to toggle source
Calls superclass method
# File lib/formalist/rich_text/embedded_forms_container/mixin.rb, line 27 def register(key, **attrs) super(key.to_s, Registration.new(**attrs)) end
resolve(key)
click to toggle source
Calls superclass method
# File lib/formalist/rich_text/embedded_forms_container/mixin.rb, line 23 def resolve(key) super(key.to_s) end
to_h()
click to toggle source
# File lib/formalist/rich_text/embedded_forms_container/mixin.rb, line 31 def to_h keys.each_with_object({}) { |key, output| output[key] = self[key].to_h } end