I need to use “mode”, to enables user to practice different functionality .
what I think I can do:
- Include a temp.rb file, as the user click one of the ‘mode buttons’, write a module into temp.rb.
- Through retrieving from temp.rb, trigger specific code option.
I am sure this is achievable, just a bit concerned if this will be allowed?
PS: As user click ‘mode’, if there is already a module inside temp.rb, it will be cleared, so no space occupying.