1
0
mirror of https://github.com/safiire/n65.git synced 2024-06-10 15:29:53 +00:00

Linted opcodes.rb

This commit is contained in:
Saf 2020-08-30 12:53:04 -07:00
parent b61003d489
commit 1b57c0a04d

View File

@ -1,9 +1,7 @@
# frozen_string_literal: true
require 'yaml' require 'yaml'
module N65 module N65
OpCodes = YAML.load_file(File.join(__dir__, '../../data/opcodes.yaml'))
## Load OpCode definitions into this module
MyDirectory = File.expand_path(File.dirname(__FILE__))
OpCodes = YAML.load_file("#{MyDirectory}/../../data/opcodes.yaml")
end end