Module: AsciiSourcerer

Defined in:
lib/asciisourcerer.rb

Overview

Primary module alias for the asciisourcerer gem

Constant Summary collapse

VERSION =

Make all Sourcerer submodules available through AsciiSourcerer

Sourcerer::VERSION
AsciiDoc =
Sourcerer::AsciiDoc
Yaml =
Sourcerer::Yaml
Rendering =
Sourcerer::Rendering
Builder =
Sourcerer::Builder
MarkDownGrade =
Sourcerer::MarkDownGrade
Jekyll =
Sourcerer::Jekyll
Sync =
Sourcerer::Sync

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object

Transparently delegate all constants and methods to Sourcerer



12
13
14
# File 'lib/asciisourcerer.rb', line 12

def self.const_missing name
  Sourcerer.const_get(name)
end

.method_missing(method) ⇒ Object



16
17
18
# File 'lib/asciisourcerer.rb', line 16

def self.method_missing(method, ...)
  Sourcerer.send(method, ...)
end

.respond_to_missing?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


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

def self.respond_to_missing? method, include_private = false
  Sourcerer.respond_to?(method, include_private) || super
end