Class: Aservice::Config
- Inherits:
-
Anyway::Config
- Object
- Anyway::Config
- Aservice::Config
- Defined in:
- lib/aservice/config.rb
Overview
anyway config wrapper
Class Method Summary collapse
- .instance {|@config| ... } ⇒ Object
- .method_missing(method) ⇒ Object
- .respond_to_missing?(_name, _) ⇒ Boolean
Class Method Details
.instance {|@config| ... } ⇒ Object
14 15 16 17 18 |
# File 'lib/aservice/config.rb', line 14 def self.instance @config ||= new yield @config if block_given? @config end |
.method_missing(method) ⇒ Object
24 25 26 |
# File 'lib/aservice/config.rb', line 24 def self.method_missing(method) instance.send(method) end |
.respond_to_missing?(_name, _) ⇒ Boolean
20 21 22 |
# File 'lib/aservice/config.rb', line 20 def self.respond_to_missing?(_name, _) instance.respond_to?(method) end |