0
How can I create some variables that can be used in different ruby scripts?
Is it too crazy to create a special ruby program containing these variables, include it in the scripts in which it is needed with the "require" method and edit it using the File class methods? I'm a complete beginner in programming and I didn't find anything similar around the internet. Thanks
3 Antworten
+ 2
I finally used Kirbybase to create a simple database
+ 1
kudos to you for posting your solution!
0
or you maybe write some kind of 'plugin' that can be used in different projects and handles a config.json file? just an idea. similar approach but with a more standardized format.