Sha256: 620813d975dc0fd647ad0b2816e878d08914a9b33ea6d061e20597b570469aa1
Contents?: true
Size: 1.09 KB
Versions: 6
Compression:
Stored size: 1.09 KB
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' # Added to fix issue with Ruby 2.0 on Windows machine require 'em/pure_ruby' require 'eventmachine' require 'em-websocket' require 'http/parser' require 'multi_json' require 'webrick' require 'find' require 'mail' require 'mime/types' require 'slim' require 'imgkit' # 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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
hyla-1.0.7.pre.6 | lib/hyla.rb |
hyla-1.0.7.pre.5 | lib/hyla.rb |
hyla-1.0.7.pre.3 | lib/hyla.rb |
hyla-1.0.7.pre.2 | lib/hyla.rb |
hyla-1.0.7.pre.1 | lib/hyla.rb |
hyla-1.0.6 | lib/hyla.rb |