Class: RoutesCoverage::Formatters::Base
- Inherits:
-
Object
- Object
- RoutesCoverage::Formatters::Base
- Defined in:
- lib/routes_coverage/formatters/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#groups ⇒ Object
readonly
Returns the value of attribute groups.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
Instance Method Summary collapse
-
#initialize(result, groups, settings) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(result, groups, settings) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/routes_coverage/formatters/base.rb', line 6 def initialize(result, groups, settings) @result = result @groups = groups @settings = settings end |
Instance Attribute Details
#groups ⇒ Object (readonly)
Returns the value of attribute groups.
12 13 14 |
# File 'lib/routes_coverage/formatters/base.rb', line 12 def groups @groups end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
12 13 14 |
# File 'lib/routes_coverage/formatters/base.rb', line 12 def result @result end |
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
12 13 14 |
# File 'lib/routes_coverage/formatters/base.rb', line 12 def settings @settings end |