Class: MockInclude

Inherits:
UserInclude show all
Defined in:
lib/ceedling/includes/includes.rb

Overview

MockInclude generates #include "/header.h" (with quotes) Specialization to support include directive paths for mocks before path are supported everywhere

Instance Attribute Summary

Attributes inherited from Include

#filename, #filepath, #path

Instance Method Summary collapse

Methods inherited from Include

#!~, #==, #=~, #hash, #include, #initialize, #to_str

Constructor Details

This class inherits a constructor from Include

Instance Method Details

#to_sObject



330
331
332
# File 'lib/ceedling/includes/includes.rb', line 330

def to_s()
  "#include \"#{filepath}\""
end