class GetToWork::Command::LastStory

Public Instance Methods

run() click to toggle source
# File lib/get_to_work/command/last_story.rb, line 4
def run
  last_story_hash = config_file.data["last_story"]
  last_story_id = last_story_hash && last_story_hash["id"]

  shell.say(last_story_id)
end