From: Joseph Phillips Date: 2011-10-19T06:03:16+09:00 Subject: Local module use in Rack::Auth::Basic block. --1604884857-1679823750-1318971793=:80453 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable If I'm using the standard Rack authorisation in a Sinatra application:=0A= =0Ause Rack::Auth::Basic do |username, password|=0A...=0Aend=0AHow can I re= ference other code assets local to the same file, say, a module?=0A=0AIn my= tests, I'm getting an undefined method error if I use the module inside th= e block above.=0A=0AThanks in advance,=0A=0AJoe=0A=A0=0A"From rivers of sor= row, to oceans deep with hope.=0AI have travelled them.=0ANow there's no tu= rning back.=0AThe limit, the sky."=0A=0A=0A- Chuck Schuldiner (RIP) --1604884857-1679823750-1318971793=:80453--