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



3595
3596
3597
# File 'lib/xberg/native.rb', line 3595

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3648
3649
3650
# File 'lib/xberg/native.rb', line 3648

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3644
3645
3646
# File 'lib/xberg/native.rb', line 3644

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = false

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = true

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false