module MarkdownVideos
Constants
- SERVICES
- VERSION
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/markdown_videos/base.rb, line 11 def self.configure @configuration = Configuration.new yield(@configuration) if block_given? @configuration end
defaults()
click to toggle source
# File lib/markdown_videos/base.rb, line 17 def self.defaults @configuration || configure end
render(string, options = {})
click to toggle source
# File lib/markdown_videos/base.rb, line 7 def self.render(string, options = {}) MarkdownVideos::Renderer.new(string, options).render end