Method: Inspec::Resources::Crontab#to_s
- Defined in:
- lib/resources/crontab.rb
#to_s ⇒ Object
87 88 89 90 91 92 93 94 95 |
# File 'lib/resources/crontab.rb', line 87 def to_s if is_system_crontab? "crontab for path #{@path}" elsif is_user_crontab? "crontab for user #{@user}" else 'crontab for current user' end end |