Sha256: 28e33d4a759800e9dc834655ee622a4c497323291a48c56c4c6197d3c22ce935
Contents?: true
Size: 562 Bytes
Versions: 15
Compression:
Stored size: 562 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EhbrsRubyUtils module Bga class Table module WhatsappFormatters class Base class FormatPlayer acts_as_abstract :fields acts_as_instance_method common_constructor :table_formatter, :player FIELD_SEPARATOR = ' - ' delegate :name, to: :player def result fields.map { |v| send(v) }.join(FIELD_SEPARATOR) end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems