Class: Txgh::Config::Providers::RawProvider
- Inherits:
-
Object
- Object
- Txgh::Config::Providers::RawProvider
- Defined in:
- lib/txgh/config/providers/raw_provider.rb
Constant Summary collapse
- SCHEME =
'raw'
Class Method Summary collapse
Class Method Details
.load(payload, parser, options = {}) ⇒ Object
14 15 16 |
# File 'lib/txgh/config/providers/raw_provider.rb', line 14 def load(payload, parser, = {}) parser.load(ERB.new(payload).result(binding)) end |
.scheme ⇒ Object
18 19 20 |
# File 'lib/txgh/config/providers/raw_provider.rb', line 18 def scheme SCHEME end |
.supports?(scheme) ⇒ Boolean
10 11 12 |
# File 'lib/txgh/config/providers/raw_provider.rb', line 10 def supports?(scheme) scheme == SCHEME end |