Class: Range

Inherits:
Object show all
Defined in:
lib/matisse/colorizers/range.rb

Instance Method Summary collapse

Instance Method Details

#inspect_colorizedObject



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