Class: EacRubyGemsUtils::Tests::Multiple::Result
- Inherits:
-
Object
- Object
- EacRubyGemsUtils::Tests::Multiple::Result
- Defined in:
- lib/eac_ruby_gems_utils/tests/multiple.rb
Constant Summary collapse
- COLORS =
{ ::EacRubyGemsUtils::Tests::Base::RESULT_FAILED => :red, ::EacRubyGemsUtils::Tests::Base::RESULT_NONEXISTENT => :white, ::EacRubyGemsUtils::Tests::Base::RESULT_SUCCESSFUL => :green }.freeze
Instance Method Summary collapse
Instance Method Details
#color ⇒ Object
94 95 96 |
# File 'lib/eac_ruby_gems_utils/tests/multiple.rb', line 94 def color COLORS.fetch(result) end |
#tag ⇒ Object
90 91 92 |
# File 'lib/eac_ruby_gems_utils/tests/multiple.rb', line 90 def tag result.to_s.send(color) end |