Module: MarkdownVideos
- Defined in:
- lib/markdown_videos/base.rb,
lib/markdown_videos/version.rb,
lib/markdown_videos/renderer.rb,
lib/markdown_videos/services.rb,
lib/markdown_videos/configuration.rb,
lib/markdown_videos/services/service_base.rb
Defined Under Namespace
Modules: Services
Classes: Configuration, Renderer
Constant Summary
collapse
- VERSION =
"1.0.2".freeze
- SERVICES =
service_classes.map do |class_name|
Object.const_get("MarkdownVideos::Services::#{class_name}")
end
Class Method Summary
collapse
Class Method Details
11
12
13
14
15
|
# File 'lib/markdown_videos/base.rb', line 11
def self.configure
@configuration = Configuration.new
yield(@configuration) if block_given?
@configuration
end
|
.defaults ⇒ Object
17
18
19
|
# File 'lib/markdown_videos/base.rb', line 17
def self.defaults
@configuration || configure
end
|
.render(string, options = {}) ⇒ Object