Class: Yap::Shell::Execution::Result
- Inherits:
-
Object
- Object
- Yap::Shell::Execution::Result
- Defined in:
- lib/yap/shell/execution/result.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#directory ⇒ Object
readonly
Returns the value of attribute directory.
-
#n ⇒ Object
readonly
Returns the value of attribute n.
-
#of ⇒ Object
readonly
Returns the value of attribute of.
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(status_code:, directory:, n:, of:) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(status_code:, directory:, n:, of:) ⇒ Result
Returns a new instance of Result.
5 6 7 8 9 10 |
# File 'lib/yap/shell/execution/result.rb', line 5 def initialize(status_code:, directory:, n:, of:) @status_code = status_code @directory = directory @n = n @of = of end |
Instance Attribute Details
#directory ⇒ Object (readonly)
Returns the value of attribute directory.
3 4 5 |
# File 'lib/yap/shell/execution/result.rb', line 3 def directory @directory end |
#n ⇒ Object (readonly)
Returns the value of attribute n.
3 4 5 |
# File 'lib/yap/shell/execution/result.rb', line 3 def n @n end |
#of ⇒ Object (readonly)
Returns the value of attribute of.
3 4 5 |
# File 'lib/yap/shell/execution/result.rb', line 3 def of @of end |
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
3 4 5 |
# File 'lib/yap/shell/execution/result.rb', line 3 def status_code @status_code end |