Method: Formtastic::NamespacedClassFinder#class_name

Defined in:
lib/formtastic/namespaced_class_finder.rb

#class_name(as) ⇒ Object

Converts symbol to class name Overridden in subclasses to create StringInput and ButtonAction

Examples:

class_name(:string) == "String"


68
69
70
# File 'lib/formtastic/namespaced_class_finder.rb', line 68

def class_name(as)
  as.to_s.camelize
end