Sha256: c714bf25fb5525c33ca24672f7b9ccb5590f1503d15e11b568511a6a46f67fb5
Contents?: true
Size: 858 Bytes
Versions: 7
Compression:
Stored size: 858 Bytes
Contents
# frozen_string_literal: true # Ruby standard libraries require 'base64' require 'date' require 'drb' require 'erb' require 'fileutils' require 'forwardable' require 'io/console' require 'json' require 'logger' require 'set' require 'singleton' require 'thread' require 'time' require 'zlib' # Gem dependencies require 'thor' # Vedeu is a GUI framework for terminal/console applications written # in Ruby. # module Vedeu extend Forwardable extend self # @param gem_name [String] # @raise [Vedeu::Error::Fatal] When the required gem is not # available. # @return [Boolean] def requires_gem!(gem_name) require gem_name if Gem::Specification.find_by_name(gem_name) true rescue Gem::LoadError raise Vedeu::Error::Fatal, "Vedeu requires '#{gem_name}' for this functionality." end end # Vedeu require 'vedeu/all'
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.7 | lib/vedeu.rb |
vedeu-0.8.6 | lib/vedeu.rb |
vedeu-0.8.5 | lib/vedeu.rb |
vedeu-0.8.4 | lib/vedeu.rb |
vedeu-0.8.3 | lib/vedeu.rb |
vedeu-0.8.2 | lib/vedeu.rb |
vedeu-0.8.1 | lib/vedeu.rb |