Method: HighLine#new_scope

Defined in:
lib/highline.rb

#new_scopeObject

Creates a new HighLine instance with the same options



485
486
487
488
# File 'lib/highline.rb', line 485

def new_scope
  self.class.new(@input, @output, @wrap_at,
                 @page_at, @indent_size, @indent_level)
end