Module: Tapioca
- Defined in:
- lib/tapioca/config.rb,
lib/tapioca.rb,
lib/tapioca/cli.rb,
lib/tapioca/loader.rb,
lib/tapioca/gemfile.rb,
lib/tapioca/version.rb,
lib/tapioca/generator.rb,
lib/tapioca/config_builder.rb,
lib/tapioca/compilers/sorbet.rb,
lib/tapioca/constant_locator.rb,
lib/tapioca/compilers/dsl/base.rb,
lib/tapioca/compilers/dsl/protobuf.rb,
lib/tapioca/compilers/dsl_compiler.rb,
lib/tapioca/compilers/todos_compiler.rb,
lib/tapioca/compilers/dsl/url_helpers.rb,
lib/tapioca/compilers/dsl/action_mailer.rb,
lib/tapioca/compilers/dsl/frozen_record.rb,
lib/tapioca/compilers/requires_compiler.rb,
lib/tapioca/compilers/dsl/identity_cache.rb,
lib/tapioca/compilers/dsl/sidekiq_worker.rb,
lib/tapioca/compilers/dsl/state_machines.rb,
lib/tapioca/compilers/dsl/active_resource.rb,
lib/tapioca/compilers/dsl/smart_properties.rb,
lib/tapioca/compilers/symbol_table_compiler.rb,
lib/tapioca/compilers/dsl/active_record_enum.rb,
lib/tapioca/compilers/dsl/active_record_scope.rb,
lib/tapioca/compilers/dsl/active_record_columns.rb,
lib/tapioca/compilers/symbol_table/symbol_loader.rb,
lib/tapioca/compilers/dsl/action_controller_helpers.rb,
lib/tapioca/compilers/dsl/active_record_typed_store.rb,
lib/tapioca/compilers/symbol_table/symbol_generator.rb,
lib/tapioca/compilers/dsl/active_record_associations.rb,
lib/tapioca/compilers/dsl/active_support_current_attributes.rb
Overview
typed: strong frozen_string_literal: true
Defined Under Namespace
Modules: Compilers, ConstantLocator Classes: Cli, Config, ConfigBuilder, Error, Gemfile, Generator, Loader
Constant Summary collapse
- VERSION =
"0.4.14"
Class Method Summary collapse
Class Method Details
.silence_warnings(&blk) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/tapioca.rb', line 7 def self.silence_warnings(&blk) original_verbosity = $VERBOSE $VERBOSE = nil Gem::DefaultUserInteraction.use_ui(Gem::SilentUI.new) do blk.call end ensure $VERBOSE = original_verbosity end |