Class: Doorway::Base
- Inherits:
-
Object
- Object
- Doorway::Base
- Defined in:
- lib/doorway/base.rb
Instance Attribute Summary collapse
-
#conn ⇒ Object
readonly
Returns the value of attribute conn.
Instance Method Summary collapse
-
#initialize(conn) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(conn) ⇒ Base
Returns a new instance of Base.
11 12 13 |
# File 'lib/doorway/base.rb', line 11 def initialize(conn) @conn = conn end |
Instance Attribute Details
#conn ⇒ Object (readonly)
Returns the value of attribute conn.
9 10 11 |
# File 'lib/doorway/base.rb', line 9 def conn @conn end |