Class: Range
Instance Method Summary collapse
Instance Method Details
#inspect_colorized ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/matisse/colorizers/range.rb', line 2 def inspect_colorized dot_string = '..' dot_string = '...' if exclude_end? res = self.begin.inspect_colorized res += dot_string.colorize(:range_dots) res += self.end.inspect_colorized end |