Sha256: 2b9459291b8f87c2c83bf2bf2851c37be6879d935ecf3fd6e737c3ad3a8b4df7

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module Balboa
  module CLI
    module Command
      class LastCommand
        def initialize(interactor)
          @interactor = interactor
        end

        def execute
          $stdout.puts(@interactor.last)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
balboa-0.1.4 lib/balboa/cli/command/last_command.rb
balboa-0.1.3 lib/balboa/cli/command/last_command.rb
balboa-0.1.2 lib/balboa/cli/command/last_command.rb