Including commands from separate Ruby file
问题 I have a chunk of code that has commands. I want to keep more commands in a separate file and pull them into the main. Thus my main file can be updated without losing any custom commands. How would I go about that? { class myClass() #commands listen_for /what is your name/i do say "my name is mud" end ## Insert Custom.rb here ## # Everything in the custom rb file is just ike the "listen_for" command above end } 回答1: The answe above will not work in this case because there is no listen_for