Class: Hashira::Complexity::Increment
- Inherits:
-
Data
- Object
- Data
- Hashira::Complexity::Increment
- Defined in:
- lib/hashira/complexity/method_score.rb
Instance Attribute Summary collapse
-
#cost ⇒ Object
readonly
Returns the value of attribute cost.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Attribute Details
#cost ⇒ Object (readonly)
Returns the value of attribute cost
5 6 7 |
# File 'lib/hashira/complexity/method_score.rb', line 5 def cost @cost end |
#label ⇒ Object (readonly)
Returns the value of attribute label
5 6 7 |
# File 'lib/hashira/complexity/method_score.rb', line 5 def label @label end |
#line ⇒ Object (readonly)
Returns the value of attribute line
5 6 7 |
# File 'lib/hashira/complexity/method_score.rb', line 5 def line @line end |