{"action":"closed","issue":{"url":"https://api.github.com/repos/rafaelsales/whenever-test/issues/2","repository_url":"https://api.github.com/repos/rafaelsales/whenever-test","labels_url":"https://api.github.com/repos/rafaelsales/whenever-test/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rafaelsales/whenever-test/issues/2/comments","events_url":"https://api.github.com/repos/rafaelsales/whenever-test/issues/2/events","html_url":"https://github.com/rafaelsales/whenever-test/issues/2","id":170681488,"number":2,"title":"NameError - path method not defined","user":{"login":"mike-stewart","id":2521245,"avatar_url":"https://avatars.githubusercontent.com/u/2521245?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-stewart","html_url":"https://github.com/mike-stewart","followers_url":"https://api.github.com/users/mike-stewart/followers","following_url":"https://api.github.com/users/mike-stewart/following{/other_user}","gists_url":"https://api.github.com/users/mike-stewart/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-stewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-stewart/subscriptions","organizations_url":"https://api.github.com/users/mike-stewart/orgs","repos_url":"https://api.github.com/users/mike-stewart/repos","events_url":"https://api.github.com/users/mike-stewart/events{/privacy}","received_events_url":"https://api.github.com/users/mike-stewart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-11T15:57:19Z","updated_at":"2016-08-15T02:27:11Z","closed_at":"2016-08-15T02:27:11Z","body":"My schedule.rb file makes use of the Whenever `path` method, which either uses a user-specified value or the default defined here: https://github.com/javan/whenever/blob/efc759d10013e3df2ceb2a86c42a0292c55d4358/lib/whenever.rb#L19\r\n\r\nHowever, it appears that when parsing this schedule file with Whenever::Test::Schedule, the method is not defined.\r\n\r\n```\r\nNameError: undefined local variable or method `path' for #<Whenever::Test::DSLInterpreter:0x007ff1ce8bebc0>\r\n~/.rvm/gems/ruby-2.1.7@introhive/gems/whenever-test-1.0.0/lib/whenever/test/schedule.rb:23:in `instance_eval'\r\n~/.rvm/gems/ruby-2.1.7@introhive/gems/whenever-test-1.0.0/lib/whenever/test/schedule.rb:23:in `instance_eval'\r\n~/.rvm/gems/ruby-2.1.7@introhive/gems/whenever-test-1.0.0/lib/whenever/test/schedule.rb:23:in `parse'\r\n~/.rvm/gems/ruby-2.1.7@introhive/gems/whenever-test-1.0.0/lib/whenever/test/schedule.rb:12:in `initialize'\r\n```"}}
{"actor":{"display_login":"rafaelsales"}}