mirror of
https://github.com/safiire/n65.git
synced 2024-12-11 08:49:42 +00:00
Linted opcodes.rb
This commit is contained in:
parent
b61003d489
commit
1b57c0a04d
@ -1,9 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'yaml'
|
||||
|
||||
module N65
|
||||
|
||||
## Load OpCode definitions into this module
|
||||
MyDirectory = File.expand_path(File.dirname(__FILE__))
|
||||
OpCodes = YAML.load_file("#{MyDirectory}/../../data/opcodes.yaml")
|
||||
|
||||
OpCodes = YAML.load_file(File.join(__dir__, '../../data/opcodes.yaml'))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user