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



3907
3908
3909
# File 'lib/xberg/native.rb', line 3907

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3960
3961
3962
# File 'lib/xberg/native.rb', line 3960

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3956
3957
3958
# File 'lib/xberg/native.rb', line 3956

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = false

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = true

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false