Sha256: 9ac1fe8db4562744045d0bbc4fd68d76084b26f3cf42db127e0d2d008613c3c7
Contents?: true
Size: 1.5 KB
Versions: 5
Compression:
Stored size: 1.5 KB
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. " \ "Please add this to your project 'Gemfile' or '*.gemspec'." end end # Vedeu # Define some Yard macros used throughout the project. # # @!macro [new] defaults_method # The default options/attributes for a new instance of this class. # # @return [Hash<Symbol => void>] # # @!macro [new] module_included # Provide additional behaviour to a class or module. # # @param klass [Class] # @return [void] # # @!macro [new] module_instance_methods # Provide additional behaviour as instance methods to the including # class or module. # # @!macro [new] module_singleton_methods # Provide additional behaviour as singleton methods to the including # class or module. # require 'vedeu/all'
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.15 | lib/vedeu.rb |
vedeu-0.8.14 | lib/vedeu.rb |
vedeu-0.8.13 | lib/vedeu.rb |
vedeu-0.8.12 | lib/vedeu.rb |
vedeu-0.8.10 | lib/vedeu.rb |