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
3211 3212 3213 |
# File 'lib/xberg/native.rb', line 3211 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
3264 3265 3266 |
# File 'lib/xberg/native.rb', line 3264 def self.from_hash(hash) new(value: hash[:_0] || hash["_0"]) end |
Instance Method Details
#archive? ⇒ Boolean
3230 |
# File 'lib/xberg/native.rb', line 3230 def archive? = false |
#audio? ⇒ Boolean
3258 |
# File 'lib/xberg/native.rb', line 3258 def audio? = false |
#bibtex? ⇒ Boolean
3244 |
# File 'lib/xberg/native.rb', line 3244 def bibtex? = false |
#citation? ⇒ Boolean
3246 |
# File 'lib/xberg/native.rb', line 3246 def citation? = false |
#code? ⇒ Boolean
3260 3261 3262 |
# File 'lib/xberg/native.rb', line 3260 def code? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#csv? ⇒ Boolean
3242 |
# File 'lib/xberg/native.rb', line 3242 def csv? = false |
#dbf? ⇒ Boolean
3250 |
# File 'lib/xberg/native.rb', line 3250 def dbf? = false |
#docx? ⇒ Boolean
3222 |
# File 'lib/xberg/native.rb', line 3222 def docx? = false |
#email? ⇒ Boolean
3226 |
# File 'lib/xberg/native.rb', line 3226 def email? = false |
#epub? ⇒ Boolean
3254 |
# File 'lib/xberg/native.rb', line 3254 def epub? = false |
#excel? ⇒ Boolean
3224 |
# File 'lib/xberg/native.rb', line 3224 def excel? = false |
#fiction_book? ⇒ Boolean
3248 |
# File 'lib/xberg/native.rb', line 3248 def fiction_book? = false |
#html? ⇒ Boolean
3238 |
# File 'lib/xberg/native.rb', line 3238 def html? = false |
#image? ⇒ Boolean
3232 |
# File 'lib/xberg/native.rb', line 3232 def image? = true |
#jats? ⇒ Boolean
3252 |
# File 'lib/xberg/native.rb', line 3252 def jats? = false |
#ocr? ⇒ Boolean
3240 |
# File 'lib/xberg/native.rb', line 3240 def ocr? = false |
#pdf? ⇒ Boolean
3220 |
# File 'lib/xberg/native.rb', line 3220 def pdf? = false |
#pptx? ⇒ Boolean
3228 |
# File 'lib/xberg/native.rb', line 3228 def pptx? = false |
#pst? ⇒ Boolean
3256 |
# File 'lib/xberg/native.rb', line 3256 def pst? = false |
#text? ⇒ Boolean
3236 |
# File 'lib/xberg/native.rb', line 3236 def text? = false |
#xml? ⇒ Boolean
3234 |
# File 'lib/xberg/native.rb', line 3234 def xml? = false |