Sha256: 70f39393e652c5afe9557a3c051b7d43f217b3a5c1051fdfcb96c1c04f132c90
Contents?: true
Size: 926 Bytes
Versions: 9
Compression:
Stored size: 926 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'cucumber/platform' require 'rubygems' require 'treetop/runtime' require 'treetop/ruby_extensions' require 'cucumber/version' require 'cucumber/step_methods' require 'cucumber/tree' require 'cucumber/model' require 'cucumber/executor' require 'cucumber/step_mother' require 'cucumber/formatters' require 'cucumber/treetop_parser/feature_parser' require 'cucumber/cli' require 'cucumber/broadcaster' module Cucumber LANGUAGE_FILE = File.expand_path(File.dirname(__FILE__) + '/cucumber/languages.yml') class << self attr_reader :language def load_language(lang) @language = config[lang] end def languages config.keys.sort end def config require 'yaml' @config ||= YAML.load_file(LANGUAGE_FILE) end end end
Version data entries
9 entries across 9 versions & 4 rubygems