Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split app.rb apart into multiple app/*.rb files #82

Closed
postmodern opened this issue Dec 19, 2023 · 1 comment
Closed

Split app.rb apart into multiple app/*.rb files #82

postmodern opened this issue Dec 19, 2023 · 1 comment
Assignees
Labels
chore You gotta do, what you gotta do enhancement New feature or request
Milestone

Comments

@postmodern
Copy link
Member

Split the app.rb file and App class into multiple app/*.rb files.

app.rb:

class App < Sinatra::Base
  ...
end

require './app/db'
require './app/scanning'

app/db.rb:

class App < Sinatra::Base
  get '/db/...' do
    ...
  end
end
@postmodern postmodern added chore You gotta do, what you gotta do enhancement New feature or request labels Dec 19, 2023
@postmodern postmodern added this to the 0.1.0 milestone Dec 19, 2023
@AI-Mozi
Copy link
Member

AI-Mozi commented Dec 23, 2023

Implemented in #88

@AI-Mozi AI-Mozi closed this as completed Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore You gotta do, what you gotta do enhancement New feature or request
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants