Class: GerritEventRouter::Broker::Config::Base
- Inherits:
-
Config::Base
- Object
- Config::Base
- GerritEventRouter::Broker::Config::Base
- Defined in:
- lib/ger/broker.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
Attributes inherited from Config::Base
Instance Method Summary collapse
-
#initialize(name, uri, mode) ⇒ Base
constructor
A new instance of Base.
Methods inherited from Config::Base
Constructor Details
#initialize(name, uri, mode) ⇒ Base
Returns a new instance of Base.
21 22 23 24 |
# File 'lib/ger/broker.rb', line 21 def initialize(name, uri, mode) super(name, uri) @mode = mode || "normal" end |
Instance Attribute Details
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
26 27 28 |
# File 'lib/ger/broker.rb', line 26 def mode @mode end |