Class: IscsiadmWrapper::Session
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(args = {}) ⇒ Session
Returns a new instance of Session.
8 9 10 11 |
# File 'lib/iscsiadm/session.rb', line 8 def initialize(args = {}) super @id = args[:id] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/iscsiadm/session.rb', line 6 def id @id end |