Class: RaaP::MethodProperty::Stats

Inherits:
Struct
  • Object
show all
Defined in:
lib/raap/method_property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#breakObject

Returns the value of attribute break



5
6
7
# File 'lib/raap/method_property.rb', line 5

def break
  @break
end

#exceptionObject

Returns the value of attribute exception



5
6
7
# File 'lib/raap/method_property.rb', line 5

def exception
  @exception
end

#skipObject

Returns the value of attribute skip



5
6
7
# File 'lib/raap/method_property.rb', line 5

def skip
  @skip
end

#successObject

Returns the value of attribute success



5
6
7
# File 'lib/raap/method_property.rb', line 5

def success
  @success
end