Class: FFWD::Plugin::Log::Setup
- Inherits:
-
Object
- Object
- FFWD::Plugin::Log::Setup
- Defined in:
- lib/ffwd/plugin/log.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #connect(core) ⇒ Object
-
#initialize(config) ⇒ Setup
constructor
A new instance of Setup.
Constructor Details
#initialize(config) ⇒ Setup
Returns a new instance of Setup.
41 42 43 44 |
# File 'lib/ffwd/plugin/log.rb', line 41 def initialize config @config = config @config[:prefix] ||= DEFAULT_PREFIX end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
39 40 41 |
# File 'lib/ffwd/plugin/log.rb', line 39 def config @config end |