Class: PEROBS::Handle
- Inherits:
-
Object
- Object
- PEROBS::Handle
- Defined in:
- lib/perobs/Handle.rb
Overview
The Handle is the first paramter of the initialize() method of every PEROBS object. By convention this parameter should be called āpā.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#store ⇒ Object
readonly
Returns the value of attribute store.
Instance Method Summary collapse
-
#initialize(store, id) ⇒ Handle
constructor
A new instance of Handle.
Constructor Details
#initialize(store, id) ⇒ Handle
Returns a new instance of Handle.
36 37 38 39 |
# File 'lib/perobs/Handle.rb', line 36 def initialize(store, id) @store = store @id = id end |