Sha256: 2c6e61a4b30f33c92f617ba6d5c07ae80c0ffb2147d071d4c7231402d28872c5

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

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

        def execute
          $stdout.puts("\n#{@interactor.last}")
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
balboa-0.1.6 lib/balboa/cli/command/last_command.rb
balboa-0.1.5 lib/balboa/cli/command/last_command.rb