Top Level Namespace

Defined Under Namespace

Modules: Kernel, Spec, SpecI18n

Constant Summary

Constants included from SpecI18n

SpecI18n::SPEC_LANGUAGES, SpecI18n::SPEC_LANGUAGE_FILE, SpecI18n::VERSION

Instance Method Summary collapse

Methods included from Spec::Example::BeforeAndAfterHooks

#after_parts, #before_parts, #grep_language_and_scope, #grep_the_scope, #register_hooks

Methods included from SpecI18n

#all_languages, #grep_value, #list_languages, #natural_language, #spec_language

Methods included from Spec::DSL::Main

#register_adverbs, #translate_share_as_keywords, #translate_shared_examples_for

Instance Method Details

#require_terminal_tableObject



4
5
6
7
8
9
10
11
# File 'lib/spec-i18n/command_line/language_help_formatter.rb', line 4

def require_terminal_table
  begin
    require 'terminal-table/import'
  rescue LoadError
    require 'rubygems'
    require 'terminal-table/import'
  end
end