Class: Gitter::AbstractDriver
- Inherits:
-
Object
- Object
- Gitter::AbstractDriver
- Includes:
- Enumerable
- Defined in:
- lib/gitter/drivers/abstract_driver.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize(scope) ⇒ AbstractDriver
constructor
A new instance of AbstractDriver.
-
#new(scope) ⇒ Object
distict_values( attr ).
Constructor Details
#initialize(scope) ⇒ AbstractDriver
Returns a new instance of AbstractDriver.
8 9 10 |
# File 'lib/gitter/drivers/abstract_driver.rb', line 8 def initialize scope @scope = scope end |
Instance Attribute Details
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
6 7 8 |
# File 'lib/gitter/drivers/abstract_driver.rb', line 6 def scope @scope end |
Instance Method Details
#new(scope) ⇒ Object
distict_values( attr )
31 32 33 |
# File 'lib/gitter/drivers/abstract_driver.rb', line 31 def new(scope) self.class.new scope end |