Sha256: 7c52b0d70143875e355d49f2c6e066af254fc204d5643a2771313c8e2e9a1934
Contents?: true
Size: 642 Bytes
Versions: 2
Compression:
Stored size: 642 Bytes
Contents
require 'gosu' require 'pathname' require 'yaml' module AdventureRL entry = Pathname.new(__FILE__).realpath # The root directory of the gem. Used for requiring ruby files. ROOT = entry.dirname # A constant containing a bunch of directories or files. DIR = { entry: entry, src: ROOT.join('AdventureRL'), helpers: ROOT.join('AdventureRL/Helpers'), misc: ROOT.join('AdventureRL/misc'), settings: ROOT.join('default_settings.yml') } require DIR[:misc].join 'require_files' # Default gem settings defined in <tt>default_settings.yml</tt>. DEFAULT_SETTINGS = Settings.new DIR[:settings] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adventure_rl-0.0.2 | lib/adventure_rl.rb |
adventure_rl-0.0.1.pre.ld42 | lib/adventure_rl.rb |