Previously a AlcesCommand helper prevented the use of eval. This was to make it a bit safer, however it was also extremely limiting and resulted in a lot of errors.
Instead, a basic instance_eval can be used to run the code. This means any ruby command can be ran on the alces object.
Base on #429
Previously a
AlcesCommand
helper prevented the use ofeval
. This was to make it a bit safer, however it was also extremely limiting and resulted in a lot of errors.Instead, a basic
instance_eval
can be used to run the code. This means any ruby command can be ran on thealces
object.