--1604884857-1679823750-13189717930453
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:

use Rack::Auth::Basic do |username, password|
...
end
How can I reference other code assets local to the same file, say, a module?

In myests, I'm getting an undefined method error if I use the module inside the block above.

Thanks in advance,

Joe
"From rivers of sorrow, to oceans deep with hope.
I have travelled them.
Now there's no turning back.
The limit, the sky."


- Chuck Schuldiner (RIP)
--1604884857-1679823750-13189717930453--