1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/app/models/active_storage/blob/identifiable.rb

12 lines
187 B
Ruby
Raw Normal View History

2018-01-15 13:06:17 -05:00
# frozen_string_literal: true
module ActiveStorage::Blob::Identifiable
def identify
ActiveStorage::Identification.new(self).apply
end
def identified?
identified
end
end