class Vime::Core::Playground

Public Instance Methods

call() click to toggle source
# File lib/vime/core/playground.rb, line 14
def call
  content_tag "vm-playground", content, process_attrs(dom_attrs)
end
dom_attrs() click to toggle source
Calls superclass method Vime::Component#dom_attrs
# File lib/vime/core/playground.rb, line 18
def dom_attrs
  super.merge({
    poster: poster,
    provider: provider,
    show_custom_ui: show_custom_ui,
    src: src,
    theme: theme,
  })
end