Class: MarkdownVideos::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/markdown_videos/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#class_nameObject

extra class_name(s) added to embed HTML element



20
21
22
# File 'lib/markdown_videos/configuration.rb', line 20

def class_name
  @class_name
end

#wrapperObject

if defined, needs to contain ‘%s` where rendered HTML element should be included e.g.: WRAPPER = ’<p class=“embed-responsive embed-responsive-16by9”>%s</p>‘.freeze



10
11
12
# File 'lib/markdown_videos/configuration.rb', line 10

def wrapper
  @wrapper
end