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
2893 2894 2895 |
# File 'lib/xberg/native.rb', line 2893 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
2946 2947 2948 |
# File 'lib/xberg/native.rb', line 2946 def self.from_hash(hash) new(value: hash[:_0] || hash["_0"]) end |
Instance Method Details
#archive? ⇒ Boolean
2912 |
# File 'lib/xberg/native.rb', line 2912 def archive? = false |
#audio? ⇒ Boolean
2940 |
# File 'lib/xberg/native.rb', line 2940 def audio? = false |
#bibtex? ⇒ Boolean
2926 |
# File 'lib/xberg/native.rb', line 2926 def bibtex? = false |
#citation? ⇒ Boolean
2928 |
# File 'lib/xberg/native.rb', line 2928 def citation? = false |
#code? ⇒ Boolean
2942 2943 2944 |
# File 'lib/xberg/native.rb', line 2942 def code? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#csv? ⇒ Boolean
2924 |
# File 'lib/xberg/native.rb', line 2924 def csv? = false |
#dbf? ⇒ Boolean
2932 |
# File 'lib/xberg/native.rb', line 2932 def dbf? = false |
#docx? ⇒ Boolean
2904 |
# File 'lib/xberg/native.rb', line 2904 def docx? = false |
#email? ⇒ Boolean
2908 |
# File 'lib/xberg/native.rb', line 2908 def email? = false |
#epub? ⇒ Boolean
2936 |
# File 'lib/xberg/native.rb', line 2936 def epub? = false |
#excel? ⇒ Boolean
2906 |
# File 'lib/xberg/native.rb', line 2906 def excel? = false |
#fiction_book? ⇒ Boolean
2930 |
# File 'lib/xberg/native.rb', line 2930 def fiction_book? = false |
#html? ⇒ Boolean
2920 |
# File 'lib/xberg/native.rb', line 2920 def html? = false |
#image? ⇒ Boolean
2914 |
# File 'lib/xberg/native.rb', line 2914 def image? = true |
#jats? ⇒ Boolean
2934 |
# File 'lib/xberg/native.rb', line 2934 def jats? = false |
#ocr? ⇒ Boolean
2922 |
# File 'lib/xberg/native.rb', line 2922 def ocr? = false |
#pdf? ⇒ Boolean
2902 |
# File 'lib/xberg/native.rb', line 2902 def pdf? = false |
#pptx? ⇒ Boolean
2910 |
# File 'lib/xberg/native.rb', line 2910 def pptx? = false |
#pst? ⇒ Boolean
2938 |
# File 'lib/xberg/native.rb', line 2938 def pst? = false |
#text? ⇒ Boolean
2918 |
# File 'lib/xberg/native.rb', line 2918 def text? = false |
#xml? ⇒ Boolean
2916 |
# File 'lib/xberg/native.rb', line 2916 def xml? = false |