Sha256: edbeca585773ec45c8b5f7fed09f6add2d68bc27cf358c9356e7c061be126a7f
Contents?: true
Size: 1020 Bytes
Versions: 2
Compression:
Stored size: 1020 Bytes
Contents
$:.unshift File.dirname(__FILE__) # For use/testing when no gem is installed # Require all of the Ruby files in the given directory. # # path - The String relative path from here to the directory. # # Returns nothing. def require_all(path) glob = File.join(File.dirname(__FILE__), path, '*.rb') Dir[glob].each do |f| require f end end # rubygems require 'rubygems' # 3rd party require 'colorator' require 'listen' require 'guard' require 'safe_yaml' require 'asciidoctor' require 'asciidoctor/backends/html5' # require 'asciidoctor/backends/_stylesheets' require 'eventmachine' require 'em-websocket' require 'http/parser' require 'multi_json' require 'webrick' require 'find' require 'mail' require 'mime/types' require 'pdfkit' # internal requires require 'hyla/logger' require 'hyla/core_ext' require 'hyla/command' require 'hyla/configuration' require 'hyla/websocket' require 'hyla/logger' # extensions require_all 'hyla/commands' module Hyla def self.logger @logger ||= Logger.new end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyla-1.0.3 | lib/hyla.rb |
hyla-1.0.2 | lib/hyla.rb |