Method: Pry::Slop#separator

Defined in:
lib/pry/slop.rb

#separator(text) ⇒ Object

Add string separators between options.

text - The String text to print.



405
406
407
408
409
410
411
# File 'lib/pry/slop.rb', line 405

def separator(text)
  if @separators[options.size]
    @separators[options.size] << "\n#{text}"
  else
    @separators[options.size] = text
  end
end