Class: HardsploitAPI::HardsploitProgress
- Inherits:
-
Object
- Object
- HardsploitAPI::HardsploitProgress
- Defined in:
- lib/HardsploitAPI/HardsploitAPI_PROGRESS.rb
Instance Method Summary collapse
- #getPercent ⇒ Object
- #getTimeElasped ⇒ Object
-
#initialize(percent, timeElasped) ⇒ HardsploitProgress
constructor
A new instance of HardsploitProgress.
- #setPercent(percent) ⇒ Object
- #setTimeElasped(timeElasped) ⇒ Object
Constructor Details
#initialize(percent, timeElasped) ⇒ HardsploitProgress
Returns a new instance of HardsploitProgress.
11 12 13 14 |
# File 'lib/HardsploitAPI/HardsploitAPI_PROGRESS.rb', line 11 def initialize(percent,timeElasped) @Percent = percent @TimeElasped = timeElasped end |
Instance Method Details
#getPercent ⇒ Object
15 16 17 |
# File 'lib/HardsploitAPI/HardsploitAPI_PROGRESS.rb', line 15 def getPercent return @Percent end |
#getTimeElasped ⇒ Object
21 22 23 |
# File 'lib/HardsploitAPI/HardsploitAPI_PROGRESS.rb', line 21 def getTimeElasped return @TimeElasped end |
#setPercent(percent) ⇒ Object
18 19 20 |
# File 'lib/HardsploitAPI/HardsploitAPI_PROGRESS.rb', line 18 def setPercent(percent) @Percent = percent end |
#setTimeElasped(timeElasped) ⇒ Object
24 25 26 |
# File 'lib/HardsploitAPI/HardsploitAPI_PROGRESS.rb', line 24 def setTimeElasped(timeElasped) @TimeElasped = timeElasped end |