Class: Review::FileMetric
- Inherits:
-
Object
- Object
- Review::FileMetric
- Defined in:
- lib/iosappaudit/Review/complexity_report.rb
Instance Attribute Summary collapse
-
#ccn ⇒ Object
Returns the value of attribute ccn.
-
#file_url ⇒ Object
Returns the value of attribute file_url.
-
#functions ⇒ Object
Returns the value of attribute functions.
-
#ncss ⇒ Object
Returns the value of attribute ncss.
Instance Method Summary collapse
-
#initialize(file_url = "", ncss = 0, ccn = 0, functions = 0) ⇒ FileMetric
constructor
A new instance of FileMetric.
Constructor Details
#initialize(file_url = "", ncss = 0, ccn = 0, functions = 0) ⇒ FileMetric
Returns a new instance of FileMetric.
19 20 21 22 23 24 |
# File 'lib/iosappaudit/Review/complexity_report.rb', line 19 def initialize(file_url = "", ncss = 0, ccn = 0, functions = 0) @file_url = file_url @ncss = ncss @ccn = ccn @functions = functions end |
Instance Attribute Details
#ccn ⇒ Object
Returns the value of attribute ccn.
17 18 19 |
# File 'lib/iosappaudit/Review/complexity_report.rb', line 17 def ccn @ccn end |
#file_url ⇒ Object
Returns the value of attribute file_url.
17 18 19 |
# File 'lib/iosappaudit/Review/complexity_report.rb', line 17 def file_url @file_url end |
#functions ⇒ Object
Returns the value of attribute functions.
17 18 19 |
# File 'lib/iosappaudit/Review/complexity_report.rb', line 17 def functions @functions end |
#ncss ⇒ Object
Returns the value of attribute ncss.
17 18 19 |
# File 'lib/iosappaudit/Review/complexity_report.rb', line 17 def ncss @ncss end |