-
-
Save audiolion/bdf23201b45273459b9b252dabee8a06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "json" | |
module Foo | |
@events = JSON.parse(File.read(File.expand_path('./events.json', File.dirname(__FILE__)))) | |
end | |
# I guess you cant do static on a module, is there another way without adding a class? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment