Sha256: 999a3415863a87609d1724e8eb4f25cede706d1e625a36d5bb14577ee04ebb10
Contents?: true
Size: 656 Bytes
Versions: 3
Compression:
Stored size: 656 Bytes
Contents
# frozen string_literal: true require 'dry-struct' require 'spy_alley_application/types/board_space' module SpyAlleyApplication module Models module BoardSpaces class ConfiscateMaterials < Dry::Struct @@can_handle_confiscate_materials = ::Types.Interface(:handle_confiscate_materials) attribute :id, ::Types::Coercible::Integer attribute :next_space, ::SpyAlleyApplication::Types::BoardSpace def accept(visitor, **args) @@can_handle_confiscate_materials.(visitor) visitor.handle_confiscate_materials(self, args) end def in_spy_alley?;true;end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems