Class: Xberg::ElementMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeElementMetadata

Returns a new instance of ElementMetadata.

Parameters:

  • page_number: (Integer)
  • filename: (String)
  • coordinates: (BoundingBox)
  • element_index: (Integer)
  • additional: (Hash[String, String])


1039
# File 'sig/types.rbs', line 1039

def initialize: (?page_number: Integer, ?filename: String, ?coordinates: BoundingBox, ?element_index: Integer, additional: Hash[String, String]) -> void

Instance Attribute Details

#additionalHash[String, String] (readonly)

Returns the value of attribute additional.

Returns:

  • (Hash[String, String])


1037
1038
1039
# File 'sig/types.rbs', line 1037

def additional
  @additional
end

#coordinatesBoundingBox (readonly)

Returns the value of attribute coordinates.

Returns:



1035
1036
1037
# File 'sig/types.rbs', line 1035

def coordinates
  @coordinates
end

#element_indexInteger (readonly)

Returns the value of attribute element_index.

Returns:

  • (Integer)


1036
1037
1038
# File 'sig/types.rbs', line 1036

def element_index
  @element_index
end

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


1034
1035
1036
# File 'sig/types.rbs', line 1034

def filename
  @filename
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


1033
1034
1035
# File 'sig/types.rbs', line 1033

def page_number
  @page_number
end