PGN2FEN Extraction with Ruby

Sort:
Avatar of kaiser1

Hi,

Not sure if this is the right place, but I'm a complete beginner to Ruby. I installed it for the sole purpose of running this program: https://github.com/nivyatech/pgn2fen

I created a simple hello world program that runs fine, but when I run pgn2fen.rb in the command terminal (Windows), nothing happens. Can someone help me interpret the "usage" in the readme and exactly which parameters I need to pass in and how?

Thanks!

Avatar of Pikelemi
pgn2fen.rb is a library. You include it and call the methods you need in your own code. Seems you should start with an basic Ruby tutorial first.