Class: Xberg::FormatMetadataAudio

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

Overview

Metadata extracted from an audio or video file.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject (readonly)

rubocop:disable Lint/UselessMethodDefinition



3992
3993
3994
# File 'lib/xberg/native.rb', line 3992

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



4045
4046
4047
# File 'lib/xberg/native.rb', line 4045

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = true

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


4041
4042
4043
# File 'lib/xberg/native.rb', line 4041

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = false

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = false

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false