Class: Crawlberg::JsonLdEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeJsonLdEntry

Returns a new instance of JsonLdEntry.

Parameters:

  • schema_type: (String)
  • name: (String)
  • raw: (String)


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

def initialize: (?schema_type: String, ?name: String, ?raw: String) -> void

Instance Attribute Details

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


330
331
332
# File 'sig/types.rbs', line 330

def name
  @name
end

#rawString (readonly)

Returns the value of attribute raw.

Returns:

  • (String)


331
332
333
# File 'sig/types.rbs', line 331

def raw
  @raw
end

#schema_typeString (readonly)

Returns the value of attribute schema_type.

Returns:

  • (String)


329
330
331
# File 'sig/types.rbs', line 329

def schema_type
  @schema_type
end