Class: Xberg::FormatMetadataExcel

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

Overview

Metadata extracted from an Excel spreadsheet.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject (readonly)

rubocop:disable Lint/UselessMethodDefinition



2979
2980
2981
# File 'lib/xberg/native.rb', line 2979

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3032
3033
3034
# File 'lib/xberg/native.rb', line 3032

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3028
3029
3030
# File 'lib/xberg/native.rb', line 3028

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = true

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = false

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = false

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false