Sha256: ca9d200dad29a4276d506d528af0148b09c6e5b35ab4c743c55bf844bff4b858
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 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 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shimmer-0.0.24 | lib/shimmer/form/field.rb |
shimmer-0.0.23 | lib/shimmer/form/field.rb |