method

===

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: ActiveModel::Name
=== public

Equivalent to #==.

class BlogPost
  extend ActiveModel::Naming
end

BlogPost.model_name === 'BlogPost'  # => true
BlogPost.model_name === 'Blog Post' # => false
Show source
Register or log in to add new notes.