Class: Partials::ConfigFileInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/ceedling/partials/partials.rb

Overview

Data class representing a source or header file to be partialized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filepath: nil, directives_only_filepath: nil, full_expansion_filepath: nil, includes: []) ⇒ ConfigFileInfo

Returns a new instance of ConfigFileInfo.



22
23
24
# File 'lib/ceedling/partials/partials.rb', line 22

def initialize(filepath: nil, directives_only_filepath: nil, full_expansion_filepath: nil, includes: [])
  super
end

Instance Attribute Details

#directives_only_filepathObject

Returns the value of attribute directives_only_filepath

Returns:

  • (Object)

    the current value of directives_only_filepath



21
22
23
# File 'lib/ceedling/partials/partials.rb', line 21

def directives_only_filepath
  @directives_only_filepath
end

#filepathObject

Returns the value of attribute filepath

Returns:

  • (Object)

    the current value of filepath



21
22
23
# File 'lib/ceedling/partials/partials.rb', line 21

def filepath
  @filepath
end

#full_expansion_filepathObject

Returns the value of attribute full_expansion_filepath

Returns:

  • (Object)

    the current value of full_expansion_filepath



21
22
23
# File 'lib/ceedling/partials/partials.rb', line 21

def full_expansion_filepath
  @full_expansion_filepath
end

#includesObject

Returns the value of attribute includes

Returns:

  • (Object)

    the current value of includes



21
22
23
# File 'lib/ceedling/partials/partials.rb', line 21

def includes
  @includes
end