Sha256: 2bd5a183b33f167ef29b5a0454647219ca042b62818156595d81c265d4bca891
Contents?: true
Size: 657 Bytes
Versions: 17
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true module Shimmer module Form class Field class_attribute :type attr_reader :builder, :method, :collection, :id_method, :name_method, :options class << self def can_handle?(method) false end end def wrapper_options {} end def prepare end def initialize(builder:, method:, collection:, id_method:, name_method:, options: {}) @builder = builder @method = method @collection = collection @id_method = id_method @name_method = name_method @options = options end end end end
Version data entries
17 entries across 17 versions & 1 rubygems