Class: Lexicon::Common::Package::V2::SourceFileSet
- Inherits:
-
Object
- Object
- Lexicon::Common::Package::V2::SourceFileSet
- Includes:
- Mixin::Nameable
- Defined in:
- lib/lexicon/common/package/v2/source_file_set.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#structure ⇒ Object
readonly
Returns the value of attribute structure.
-
#tables ⇒ Object
readonly
Returns the value of attribute tables.
Instance Method Summary collapse
-
#initialize(id:, name:, structure:, tables:) ⇒ SourceFileSet
constructor
A new instance of SourceFileSet.
Constructor Details
#initialize(id:, name:, structure:, tables:) ⇒ SourceFileSet
Returns a new instance of SourceFileSet.
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
#id ⇒ Object (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 |
#name ⇒ Object (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 |
#structure ⇒ Object (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 |
#tables ⇒ Object (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 |