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