Sha256: 09a66066a952803af4429c5594d74cbcecc36448898d373e93c7d71e64f29371

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

module MM
  module Console
    class SelectIndexCommand
      def initialize(index)
        @index = index
      end
      
      def execute(runtime)
        runtime[:list].select_by_index(runtime, @index)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xli-mm-0.0.3 lib/mm/console/select_index_command.rb