Class: SuperDiff::RSpec::MatcherTextTemplate::ColorizedList
- Defined in:
- lib/super_diff/rspec/matcher_text_template.rb
Instance Method Summary collapse
-
#initialize(color) ⇒ ColorizedList
constructor
A new instance of ColorizedList.
- #to_s ⇒ Object
Methods inherited from Text
#to_string_in_multiline_mode, #to_string_in_singleline_mode
Methods inherited from Base
#length, #to_string_in_multiline_mode, #to_string_in_singleline_mode
Constructor Details
#initialize(color) ⇒ ColorizedList
Returns a new instance of ColorizedList.
163 164 165 166 167 |
# File 'lib/super_diff/rspec/matcher_text_template.rb', line 163 def initialize(color, ...) super(...) @color = color end |
Instance Method Details
#to_s ⇒ Object
169 170 171 |
# File 'lib/super_diff/rspec/matcher_text_template.rb', line 169 def to_s to_sentence(colorized_values) end |