Module: Brut
- Defined in:
- lib/brut.rb,
lib/brut/cli.rb,
lib/brut/version.rb,
lib/brut/framework.rb,
lib/brut/spec_support.rb,
lib/brut/cli/app_runner.rb,
lib/brut/framework/errors.rb,
lib/brut/back_end/seed_data.rb,
lib/brut/framework/container.rb,
lib/brut/cli/execution_results.rb
Overview
Brut is a way to make web apps with Ruby. It focuses on web standards, object-orientation, and other fundamentals. Brut seeks to minimize abstractions where possible.
Brut encourages the use of the browser's technology and encourages you to build a web app based on good practices that are set up by default. Brut may not look easy, but it aims to be simple. It attempts to minimize dependencies and complexity, while leveraging common tested Ruby libraries related to web development.
Have fun!
Defined Under Namespace
Modules: BackEnd, CLI, Framework, FrontEnd, I18n, Instrumentation, SinatraHelpers, SpecSupport Classes: FactoryBot
Class Method Summary collapse
-
.container(&block) ⇒ Object
Provides access to the singelton container that contains all of Brut's current configuration.
Class Method Details
.container(&block) ⇒ Object
Provides access to the singelton container that contains all of Brut's current configuration.
5 6 7 8 9 10 11 |
# File 'lib/brut/framework/container.rb', line 5 def self.container(&block) @container ||= Brut::Framework::Container.new if !block.nil? block.(@container) end @container end |