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
3136 3137 3138 |
# File 'lib/xberg/native.rb', line 3136 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
3189 3190 3191 |
# File 'lib/xberg/native.rb', line 3189 def self.from_hash(hash) new(value: hash[:_0] || hash["_0"]) end |
Instance Method Details
#archive? ⇒ Boolean
3155 |
# File 'lib/xberg/native.rb', line 3155 def archive? = false |
#audio? ⇒ Boolean
3183 |
# File 'lib/xberg/native.rb', line 3183 def audio? = false |
#bibtex? ⇒ Boolean
3169 |
# File 'lib/xberg/native.rb', line 3169 def bibtex? = false |
#citation? ⇒ Boolean
3171 |
# File 'lib/xberg/native.rb', line 3171 def citation? = false |
#code? ⇒ Boolean
3185 3186 3187 |
# File 'lib/xberg/native.rb', line 3185 def code? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#csv? ⇒ Boolean
3167 |
# File 'lib/xberg/native.rb', line 3167 def csv? = false |
#dbf? ⇒ Boolean
3175 |
# File 'lib/xberg/native.rb', line 3175 def dbf? = false |
#docx? ⇒ Boolean
3147 |
# File 'lib/xberg/native.rb', line 3147 def docx? = false |
#email? ⇒ Boolean
3151 |
# File 'lib/xberg/native.rb', line 3151 def email? = false |
#epub? ⇒ Boolean
3179 |
# File 'lib/xberg/native.rb', line 3179 def epub? = false |
#excel? ⇒ Boolean
3149 |
# File 'lib/xberg/native.rb', line 3149 def excel? = false |
#fiction_book? ⇒ Boolean
3173 |
# File 'lib/xberg/native.rb', line 3173 def fiction_book? = false |
#html? ⇒ Boolean
3163 |
# File 'lib/xberg/native.rb', line 3163 def html? = false |
#image? ⇒ Boolean
3157 |
# File 'lib/xberg/native.rb', line 3157 def image? = true |
#jats? ⇒ Boolean
3177 |
# File 'lib/xberg/native.rb', line 3177 def jats? = false |
#ocr? ⇒ Boolean
3165 |
# File 'lib/xberg/native.rb', line 3165 def ocr? = false |
#pdf? ⇒ Boolean
3145 |
# File 'lib/xberg/native.rb', line 3145 def pdf? = false |
#pptx? ⇒ Boolean
3153 |
# File 'lib/xberg/native.rb', line 3153 def pptx? = false |
#pst? ⇒ Boolean
3181 |
# File 'lib/xberg/native.rb', line 3181 def pst? = false |
#text? ⇒ Boolean
3161 |
# File 'lib/xberg/native.rb', line 3161 def text? = false |
#xml? ⇒ Boolean
3159 |
# File 'lib/xberg/native.rb', line 3159 def xml? = false |