Method: HighLine#new_scope

Defined in:
lib/highline.rb

#new_scopeObject

Creates a new HighLine instance with the same options



502
503
504
505
# File 'lib/highline.rb', line 502

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