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



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

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3987
3988
3989
# File 'lib/xberg/native.rb', line 3987

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3983
3984
3985
# File 'lib/xberg/native.rb', line 3983

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = false

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = true

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false