Flowdock
method

with_type

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Attribute
with_type(type) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attribute.rb, line 83
    def with_type(type)
      if changed_in_place?
        with_value_from_user(value).with_type(type)
      else
        self.class.new(name, value_before_type_cast, type, original_attribute)
      end
    end
Register or log in to add new notes.