Sha256: df6c70205dbd8d6b590ca2f095869c6866ba33d671bd6ad6d4f07f0a08302fba
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
$:.push File.expand_path(File.dirname(__FILE__) + '/lib') require 'lomic/Event' require 'lomic/EventEngine' require 'lomic/GameState' require 'lomic/Lomic' require 'lomic/Rule' require 'lomic/LomicParser' module Lomic VERSION = '0.0.1' def self.parse(filename, start_event="game:start") gstate = LomicParser.load_source(filename) gstate.emit start_event end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lomic-0.0.2 | lib/Lomic.rb |
lomic-0.0.1 | lib/Lomic.rb |