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