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
100 101 102 |
# File 'lib/eac_ruby_gems_utils/tests/multiple.rb', line 100 def color COLORS.fetch(result) end |
#tag ⇒ Object
96 97 98 |
# File 'lib/eac_ruby_gems_utils/tests/multiple.rb', line 96 def tag result.to_s.send(color) end |