You don't call anything “no object”, but you call require 'sinatra'on Object, and this loads the library if it is available for download, which gives, among other things, a method get.
Where get is defined is in the Sinatra stone in the lib folder in the base.rb file, and this code is supposedly located on your computer.
def get(path, opts = {}, &block)
conditions = @conditions.dup
route('GET', path, opts, &block)
@conditions = conditions
route('HEAD', path, opts, &block)
end
, , , Ruby. , .