lib/spec-i18n/spec_language.rb in rspec-i18n-0.2.1 vs lib/spec-i18n/spec_language.rb in rspec-i18n-1.0.0
- old
+ new
@@ -1,7 +1,10 @@
module SpecI18n
def spec_language
Spec::Runner.configuration.language
end
+ def natural_language
+ Parser::NaturalLanguage.get(spec_language)
+ end
end
include SpecI18n
\ No newline at end of file