Class: Xberg::FormatMetadataImage
- Inherits:
-
Data
- Object
- Data
- Xberg::FormatMetadataImage
- Extended by:
- T::Sig
- Includes:
- FormatMetadata
- Defined in:
- lib/xberg/native.rb
Overview
Metadata extracted from a raster or vector image.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
- #archive? ⇒ Boolean
- #audio? ⇒ Boolean
- #bibtex? ⇒ Boolean
- #citation? ⇒ Boolean
- #code? ⇒ Boolean
- #csv? ⇒ Boolean
- #dbf? ⇒ Boolean
- #docx? ⇒ Boolean
- #email? ⇒ Boolean
- #epub? ⇒ Boolean
- #excel? ⇒ Boolean
- #fiction_book? ⇒ Boolean
- #html? ⇒ Boolean
- #image? ⇒ Boolean
- #jats? ⇒ Boolean
- #ocr? ⇒ Boolean
- #pdf? ⇒ Boolean
- #pptx? ⇒ Boolean
- #pst? ⇒ Boolean
- #text? ⇒ Boolean
- #xml? ⇒ Boolean
Instance Attribute Details
#value ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3238 3239 3240 |
# File 'lib/xberg/native.rb', line 3238 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
3291 3292 3293 |
# File 'lib/xberg/native.rb', line 3291 def self.from_hash(hash) new(value: hash[:_0] || hash["_0"]) end |
Instance Method Details
#archive? ⇒ Boolean
3257 |
# File 'lib/xberg/native.rb', line 3257 def archive? = false |
#audio? ⇒ Boolean
3285 |
# File 'lib/xberg/native.rb', line 3285 def audio? = false |
#bibtex? ⇒ Boolean
3271 |
# File 'lib/xberg/native.rb', line 3271 def bibtex? = false |
#citation? ⇒ Boolean
3273 |
# File 'lib/xberg/native.rb', line 3273 def citation? = false |
#code? ⇒ Boolean
3287 3288 3289 |
# File 'lib/xberg/native.rb', line 3287 def code? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#csv? ⇒ Boolean
3269 |
# File 'lib/xberg/native.rb', line 3269 def csv? = false |
#dbf? ⇒ Boolean
3277 |
# File 'lib/xberg/native.rb', line 3277 def dbf? = false |
#docx? ⇒ Boolean
3249 |
# File 'lib/xberg/native.rb', line 3249 def docx? = false |
#email? ⇒ Boolean
3253 |
# File 'lib/xberg/native.rb', line 3253 def email? = false |
#epub? ⇒ Boolean
3281 |
# File 'lib/xberg/native.rb', line 3281 def epub? = false |
#excel? ⇒ Boolean
3251 |
# File 'lib/xberg/native.rb', line 3251 def excel? = false |
#fiction_book? ⇒ Boolean
3275 |
# File 'lib/xberg/native.rb', line 3275 def fiction_book? = false |
#html? ⇒ Boolean
3265 |
# File 'lib/xberg/native.rb', line 3265 def html? = false |
#image? ⇒ Boolean
3259 |
# File 'lib/xberg/native.rb', line 3259 def image? = true |
#jats? ⇒ Boolean
3279 |
# File 'lib/xberg/native.rb', line 3279 def jats? = false |
#ocr? ⇒ Boolean
3267 |
# File 'lib/xberg/native.rb', line 3267 def ocr? = false |
#pdf? ⇒ Boolean
3247 |
# File 'lib/xberg/native.rb', line 3247 def pdf? = false |
#pptx? ⇒ Boolean
3255 |
# File 'lib/xberg/native.rb', line 3255 def pptx? = false |
#pst? ⇒ Boolean
3283 |
# File 'lib/xberg/native.rb', line 3283 def pst? = false |
#text? ⇒ Boolean
3263 |
# File 'lib/xberg/native.rb', line 3263 def text? = false |
#xml? ⇒ Boolean
3261 |
# File 'lib/xberg/native.rb', line 3261 def xml? = false |