method
polymorphic?
v4.1.8 -
Show latest stable
- Class:
Rails::Generators::GeneratedAttribute
polymorphic?()public
No documentation available.
# File railties/lib/rails/generators/generated_attribute.rb, line 121
def polymorphic?
self.attr_options.has_key?(:polymorphic)
end