Class: Range

Inherits:
Object show all
Defined in:
opal/stdlib/pp.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#pretty_print(q) ⇒ Object

:nodoc:



405
406
407
408
409
410
411
# File 'opal/stdlib/pp.rb', line 405

def pretty_print(q) # :nodoc:
  q.pp self.begin
  q.breakable ''
  q.text(self.exclude_end? ? '...' : '..')
  q.breakable ''
  q.pp self.end if self.end
end