class WebConsole::Context

def extract(input = nil)

the input.
Otherwise, it extracts methods and constants of the object specified by

the inputs is present.
Extracts entire objects which can be called by the current session unless
def extract(input = nil)
  input.present? ? local(input) : global
end