Class: RoutesCoverage::Formatters::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/routes_coverage/formatters/base.rb

Direct Known Subclasses

Html, SummaryText

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#groupsObject (readonly)

Returns the value of attribute groups.



12
13
14
# File 'lib/routes_coverage/formatters/base.rb', line 12

def groups
  @groups
end

#resultObject (readonly)

Returns the value of attribute result.



12
13
14
# File 'lib/routes_coverage/formatters/base.rb', line 12

def result
  @result
end

#settingsObject (readonly)

Returns the value of attribute settings.



12
13
14
# File 'lib/routes_coverage/formatters/base.rb', line 12

def settings
  @settings
end