Class: GerritEventRouter::Config::Base
- Inherits:
-
Object
- Object
- GerritEventRouter::Config::Base
- Defined in:
- lib/ger/config.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
25 26 27 |
# File 'lib/ger/config.rb', line 25 def name @name end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
25 26 27 |
# File 'lib/ger/config.rb', line 25 def uri @uri end |
Instance Method Details
#initiallize(name, uri) ⇒ Object
20 21 22 23 |
# File 'lib/ger/config.rb', line 20 def initiallize(name, uri) @name = name @uri = uri.gsub(%r|/+$|, "") end |