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