Sha256: d7d7c28a69dfbc10dcd6890ac5b9d20e3f0fdc6f56858a53952161baf571368c
Contents?: true
Size: 360 Bytes
Versions: 20
Compression:
Stored size: 360 Bytes
Contents
module Coco module Concerns module ActsAsFieldWithOptions extend ActiveSupport::Concern include Concerns::HasName def combine_options! @options[:data] ||= {} @options[:data][:coco] = "✔" @options[:data][:component] = "form-#{component_name.delete_prefix("fields-")}" super end end end end
Version data entries
20 entries across 20 versions & 1 rubygems