Feature Request: CronLine#to_s
Closed this issue · 1 comments
ghostsquad commented
It would be really nice to be able to convert a CronLine
object back to it's string representation.
jmettraux commented
You can get a CronLine
instance to give back its original string representation by calling #original
cl = Rufus::Scheduler::CronLine.new('* * * * *')
p cl.original # --> "* * * * *"