jmettraux/rufus-scheduler

Feature Request: CronLine#to_s

Closed this issue · 1 comments

It would be really nice to be able to convert a CronLine object back to it's string representation.

You can get a CronLine instance to give back its original string representation by calling #original

cl = Rufus::Scheduler::CronLine.new('* * * * *')
p cl.original # --> "* * * * *"