Class: ZombieScout::Formatter::BaseFormatter
- Inherits:
-
Object
- Object
- ZombieScout::Formatter::BaseFormatter
- Defined in:
- lib/zombie_scout/formatter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#mission ⇒ Object
readonly
Returns the value of attribute mission.
-
#report ⇒ Object
readonly
Returns the value of attribute report.
Instance Method Summary collapse
-
#initialize(mission, report) ⇒ BaseFormatter
constructor
A new instance of BaseFormatter.
Constructor Details
#initialize(mission, report) ⇒ BaseFormatter
Returns a new instance of BaseFormatter.
14 15 16 |
# File 'lib/zombie_scout/formatter.rb', line 14 def initialize(mission, report) @mission, @report = mission, report end |
Instance Attribute Details
#mission ⇒ Object (readonly)
Returns the value of attribute mission.
13 14 15 |
# File 'lib/zombie_scout/formatter.rb', line 13 def mission @mission end |
#report ⇒ Object (readonly)
Returns the value of attribute report.
13 14 15 |
# File 'lib/zombie_scout/formatter.rb', line 13 def report @report end |