Sha256: d42808fb9c2b06ff3025b32eada784250a5d217bfe3e29f62583e9604093b642

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

module GetToWork
  class Command
    class LastStory < GetToWork::Command
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
get_to_work-0.1.5 lib/get_to_work/command/last_story.rb
get_to_work-0.1.4 lib/get_to_work/command/last_story.rb
get_to_work-0.1.3 lib/get_to_work/command/last_story.rb