Class: Qwerly::QwerlyBase
- Inherits:
-
Object
- Object
- Qwerly::QwerlyBase
- Defined in:
- lib/qwerly.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ QwerlyBase
constructor
A new instance of QwerlyBase.
Constructor Details
#initialize(key) ⇒ QwerlyBase
Returns a new instance of QwerlyBase.
10 11 12 |
# File 'lib/qwerly.rb', line 10 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
8 9 10 |
# File 'lib/qwerly.rb', line 8 def key @key end |