Sha256: 0c493f42a7805796780adeff6f83b0d231e47cc7b1edfe85fc8b32cc15ce6519
Contents?: true
Size: 838 Bytes
Versions: 3
Compression:
Stored size: 838 Bytes
Contents
require "hexlet/version" require 'logger' require 'yaml' require 'fileutils' require 'uri' require 'zlib' require 'open3' require 'archive/tar/minitar' require 'rake' require 'thor' require 'rest-client' require 'i18n' I18n.available_locales = [:en] I18n.enforce_available_locales = true I18n.locale = :en module Hexlet autoload "Router", "hexlet/router" autoload "BaseClient", "hexlet/base_client" autoload "TeacherClient", "hexlet/teacher_client" autoload "MemberClient", "hexlet/member_client" autoload "BaseCLI", "hexlet/base_cli" autoload "MemberCLI", "hexlet/member_cli" autoload "TeacherCLI", "hexlet/teacher_cli" def self.root File.expand_path '../..', __FILE__ end end I18n.load_path = Dir[File.join(Hexlet.root, 'locales', '*.yml')] I18n.backend.load_translations I18n.t "key" # FIXME this is hack
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hexlet-0.3.4 | lib/hexlet.rb |
hexlet-0.3.3 | lib/hexlet.rb |
hexlet-0.3.2 | lib/hexlet.rb |