mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
12 lines
187 B
Ruby
12 lines
187 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module ActiveStorage::Blob::Identifiable
|
||
|
def identify
|
||
|
ActiveStorage::Identification.new(self).apply
|
||
|
end
|
||
|
|
||
|
def identified?
|
||
|
identified
|
||
|
end
|
||
|
end
|