Module: Browsable
- Defined in:
- lib/browsable.rb,
lib/browsable/cli.rb,
lib/browsable/config.rb,
lib/browsable/doctor.rb,
lib/browsable/report.rb,
lib/browsable/target.rb,
lib/browsable/finding.rb,
lib/browsable/railtie.rb,
lib/browsable/version.rb,
lib/browsable/sources/base.rb,
lib/browsable/analyzers/css.rb,
lib/browsable/analyzers/erb.rb,
lib/browsable/sources/views.rb,
lib/browsable/analyzers/base.rb,
lib/browsable/analyzers/html.rb,
lib/browsable/policy_scanner.rb,
lib/browsable/sources/builds.rb,
lib/browsable/formatters/json.rb,
lib/browsable/policy_detector.rb,
lib/browsable/formatters/human.rb,
lib/browsable/formatters/github.rb,
lib/browsable/sources/importmap.rb,
lib/browsable/sources/javascripts.rb,
lib/browsable/sources/stylesheets.rb,
lib/browsable/analyzers/javascript.rb,
lib/browsable/sources/public_assets.rb,
lib/generators/browsable/install/install_generator.rb
Overview
browsable — a Rails-aware browser-compatibility audit toolkit.
This file boots the Zeitwerk autoloader and declares the gem’s error
- hierarchy. Every other constant under Browsable
-
is autoloaded on first use.
Defined Under Namespace
Modules: Analyzers, Formatters, Generators, Sources Classes: CLI, Config, ConfigError, DependencyError, Doctor, Error, Finding, PolicyDetector, PolicyScanner, Railtie, Report, Target
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.loader ⇒ Object
The shared Zeitwerk loader.
Class Method Summary collapse
-
.data_dir ⇒ Object
Absolute path to the gem’s bundled ‘data/` directory.
Class Attribute Details
.loader ⇒ Object
The shared Zeitwerk loader. Exposed so specs (and rake) can eager-load.
22 23 24 |
# File 'lib/browsable.rb', line 22 def loader @loader end |
Class Method Details
.data_dir ⇒ Object
Absolute path to the gem’s bundled ‘data/` directory.
25 26 27 |
# File 'lib/browsable.rb', line 25 def data_dir File.("../data", __dir__) end |