Module: Tongues
- Defined in:
- lib/tongues/version.rb,
lib/tongues/api_connexion.rb,
lib/tongues/core_ext/detection.rb,
lib/tongues/config/configuration.rb,
lib/generators/tongues/initializer_generator.rb
Defined Under Namespace
Modules: Detection Classes: ApiConnexion, Configuration, InitializerGenerator, NoApiKeyError
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
-
.configure(&block) ⇒ Object
Provides a convenient way to edit configuration.
Class Method Details
.configure(&block) ⇒ Object
Provides a convenient way to edit configuration
7 8 9 10 11 12 13 |
# File 'lib/tongues/config/configuration.rb', line 7 def self.configure(&block) if block_given? block.call(Configuration.instance) else Configuration.instance end end |