Last active
December 27, 2015 11:49
-
-
Save scalone/7321613 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
class MyClass | |
include PosxmlParser | |
def start | |
use_thread = false | |
posxml_files_path = "./" | |
main = "main.posxml" | |
posxml_configure!("", , use_thread) | |
end | |
end | |
class MyClass | |
include PosxmlParser | |
# see lib/posxml_parse/instructions.rb to implement platform instructions | |
interface_display do |column, line, text| | |
puts text.value | |
end | |
def start | |
use_thread = false | |
posxml_files_path = "./" | |
main = "main.posxml" | |
posxml_configure!("", , use_thread) | |
# execution loop | |
posxml_loop | |
end | |
end | |
my_class = MyClass.new | |
my_class.start # Read, parse and execute main.posxml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment