Sha256: 91171f82c6ee94a5545fe5d67a79bffa171813be06967ee8be948346f91bf36f
Contents?: true
Size: 654 Bytes
Versions: 3
Compression:
Stored size: 654 Bytes
Contents
module Spec module Runner class Configuration def spec_language(language) @spec_language = language ? language.to_s : "en" load_language @spec_language end def language @spec_language end # Load all Modules and Classes for the language specified def load_language Spec::DSL::Main.register_adverbs Kernel.register_expectations_keywords Spec::Example::ExampleGroupMethods.register_example_adverbs Spec::Example::BeforeAndAfterHooks.register_hooks end end class UndefinedLanguageError < StandardError end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rspec-i18n-0.2.1 | lib/spec-i18n/runner/configuration.rb |
rspec-i18n-0.2.0 | lib/spec-i18n/runner/configuration.rb |
rspec-i18n-0.1.0 | lib/spec-i18n/runner/configuration.rb |