method
with_type
v8.1.1 -
Show latest stable
- Class:
ActiveModel::Attribute::Uninitialized
with_type(type)public
No documentation available.
# File activemodel/lib/active_model/attribute.rb, line 278
def with_type(type)
self.class.new(name, type)
end