Class: Tramp::Status
- Inherits:
-
Object
- Object
- Tramp::Status
- Defined in:
- lib/tramp/status.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record, success) ⇒ Status
constructor
A new instance of Status.
- #success? ⇒ Boolean
Constructor Details
#initialize(record, success) ⇒ Status
Returns a new instance of Status.
6 7 8 9 |
# File 'lib/tramp/status.rb', line 6 def initialize(record, success) @record = record @success = success end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
4 5 6 |
# File 'lib/tramp/status.rb', line 4 def record @record end |
Instance Method Details
#success? ⇒ Boolean
11 12 13 |
# File 'lib/tramp/status.rb', line 11 def success? @success end |