Skip to content

Why do sinatra/main requires sinatra/base? #12

@agis

Description

@agis

I know that a Sinatra app can be built using the Classic or the Modular style, meaning that it will require sinatra for the former and sinatra/base for the latter.

But I was wondering, why does sinatra/main.rb requires sinatra/base?

This is certainly not needed when you're using the Classic or the Modular way, cause in each case this file is loaded either via sinatra.rb (classic) or directly (modular).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions