Sha256: de9b0bea1895c05fe3dec04d79b2a10a107701693d6b9aba406ea569c0c97853
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true module Formtastic # Uses the {NamespacedClassFinder} to look up action class names. # # See {Formtastic::Helpers::ActionHelper#namespaced_action_class} for details. # class ActionClassFinder < NamespacedClassFinder # @param builder [FormBuilder] def initialize(builder) super builder.action_namespaces end def class_name(as) "#{super}Action" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formtastic-5.0.0 | lib/formtastic/action_class_finder.rb |