Sha256: 7375cb1caf7d6728e948010c995d3a2ef98efe22da536dc8a07e15fa162aef5a

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require 'dry-struct'

module SpyAlleyApplication
  module Results
    module Nodes
      class UseMoveCardOptionNode < Dry::Struct
        @@can_handle_use_move_card_option = ::Types.Interface(:handle_use_move_card_option)
        attribute :card_list, ::Types::ArrayOfStrictInteger

        def accept(visitor, **args)
          @@can_handle_use_move_card_option.(visitor)
          visitor.handle_use_move_card_option(self, args)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spy_alley_application-0.3.2 lib/spy_alley_application/results/nodes/use_move_card_option_node.rb