Class: RaaP::MethodProperty::Stats
- Inherits:
-
Struct
- Object
- Struct
- RaaP::MethodProperty::Stats
- Defined in:
- lib/raap/method_property.rb
Instance Attribute Summary collapse
-
#break ⇒ Object
Returns the value of attribute break.
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#skip ⇒ Object
Returns the value of attribute skip.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: 0, skip: 0, exception: 0, break: false) ⇒ Stats
constructor
A new instance of Stats.
Constructor Details
#initialize(success: 0, skip: 0, exception: 0, break: false) ⇒ Stats
6 7 8 |
# File 'lib/raap/method_property.rb', line 6 def initialize(success: 0, skip: 0, exception: 0, break: false) super end |
Instance Attribute Details
#break ⇒ Object
Returns the value of attribute break
5 6 7 |
# File 'lib/raap/method_property.rb', line 5 def break @break end |
#exception ⇒ Object
Returns the value of attribute exception
5 6 7 |
# File 'lib/raap/method_property.rb', line 5 def exception @exception end |
#skip ⇒ Object
Returns the value of attribute skip
5 6 7 |
# File 'lib/raap/method_property.rb', line 5 def skip @skip end |
#success ⇒ Object
Returns the value of attribute success
5 6 7 |
# File 'lib/raap/method_property.rb', line 5 def success @success end |