Sha256: 61942dfbaa77e4b37b7f60cf2f89c3a959ea57434206478cca468577f83ef7f5

Contents?: true

Size: 347 Bytes

Versions: 8

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module EhbrsRubyUtils
  module Bga
    class TableWhatsappFormatter
      class FormatOption
        enable_method_class
        common_constructor :table_formatter, :option

        def result
          "*#{option.label}:* #{option.value}"
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ehbrs_ruby_utils-0.31.0 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb
ehbrs_ruby_utils-0.30.0 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb
ehbrs_ruby_utils-0.29.0 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb
ehbrs_ruby_utils-0.28.0 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb
ehbrs_ruby_utils-0.27.1 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb
ehbrs_ruby_utils-0.27.0 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb
ehbrs_ruby_utils-0.26.0 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb
ehbrs_ruby_utils-0.25.1 lib/ehbrs_ruby_utils/bga/table_whatsapp_formatter/format_option.rb