Class: Lexicon::Common::Package::V2::SourceFileSet

Inherits:
Object
  • Object
show all
Includes:
Mixin::Nameable
Defined in:
lib/lexicon/common/package/v2/source_file_set.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, name:, structure:, tables:) ⇒ SourceFileSet

Returns a new instance of SourceFileSet.

Parameters:

  • id (String)
  • name (String)
  • structure (String)
  • tables (Hash{String=>Array<String>})


16
17
18
19
20
21
# File 'lib/lexicon/common/package/v2/source_file_set.rb', line 16

def initialize(id:, name:, structure:, tables:)
  @id = id
  @name = name
  @structure = structure
  @tables = tables.freeze
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



10
11
12
# File 'lib/lexicon/common/package/v2/source_file_set.rb', line 10

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



10
11
12
# File 'lib/lexicon/common/package/v2/source_file_set.rb', line 10

def name
  @name
end

#structureObject (readonly)

Returns the value of attribute structure.



10
11
12
# File 'lib/lexicon/common/package/v2/source_file_set.rb', line 10

def structure
  @structure
end

#tablesObject (readonly)

Returns the value of attribute tables.



10
11
12
# File 'lib/lexicon/common/package/v2/source_file_set.rb', line 10

def tables
  @tables
end