Class: Xberg::FormatMetadataPst

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
FormatMetadata
Defined in:
lib/xberg/native.rb

Overview

Metadata extracted from an Outlook PST archive.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject (readonly)

rubocop:disable Lint/UselessMethodDefinition



3832
3833
3834
# File 'lib/xberg/native.rb', line 3832

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3885
3886
3887
# File 'lib/xberg/native.rb', line 3885

def self.from_hash(hash)
  new(value: hash[:_0] || hash["_0"])
end

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


3851
# File 'lib/xberg/native.rb', line 3851

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


3879
# File 'lib/xberg/native.rb', line 3879

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


3865
# File 'lib/xberg/native.rb', line 3865

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


3867
# File 'lib/xberg/native.rb', line 3867

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3881
3882
3883
# File 'lib/xberg/native.rb', line 3881

def code? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#csv?Boolean

Returns:

  • (Boolean)


3863
# File 'lib/xberg/native.rb', line 3863

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


3871
# File 'lib/xberg/native.rb', line 3871

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


3843
# File 'lib/xberg/native.rb', line 3843

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


3847
# File 'lib/xberg/native.rb', line 3847

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


3875
# File 'lib/xberg/native.rb', line 3875

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


3845
# File 'lib/xberg/native.rb', line 3845

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


3869
# File 'lib/xberg/native.rb', line 3869

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


3859
# File 'lib/xberg/native.rb', line 3859

def html? = false

#image?Boolean

Returns:

  • (Boolean)


3853
# File 'lib/xberg/native.rb', line 3853

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


3873
# File 'lib/xberg/native.rb', line 3873

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


3861
# File 'lib/xberg/native.rb', line 3861

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


3841
# File 'lib/xberg/native.rb', line 3841

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


3849
# File 'lib/xberg/native.rb', line 3849

def pptx? = false

#pst?Boolean

Returns:

  • (Boolean)


3877
# File 'lib/xberg/native.rb', line 3877

def pst? = true

#text?Boolean

Returns:

  • (Boolean)


3857
# File 'lib/xberg/native.rb', line 3857

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


3855
# File 'lib/xberg/native.rb', line 3855

def xml? = false