Sha256: 0e964b28458ab687a09c5342dac1f4fae627a470a944df7ec60a9af2cd3f6714

Contents?: true

Size: 683 Bytes

Versions: 2

Compression:

Stored size: 683 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
require 'rubygems'
require 'treetop/runtime'
require 'treetop/ruby_extensions'
require 'cucumber/version'
require 'cucumber/step_methods'
require 'cucumber/tree'
require 'cucumber/executor'
require 'cucumber/step_mother'
require 'cucumber/formatters'
require 'cucumber/treetop_parser/feature_parser'
require 'cucumber/cli'

module Cucumber
  class << self
    attr_reader :language
    
    def load_language(lang)
      require 'yaml'
      @language = YAML.load_file(File.dirname(__FILE__) + '/cucumber/languages.yml')[lang]
    end
  end  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aslakhellesoy-cucumber-0.1.1 lib/cucumber.rb
aslakhellesoy-cucumber-0.1.2 lib/cucumber.rb