module Roject::Helpers
Author: Anshul Kharbanda Created: 7 - 8 - 2016
Public Instance Methods
c_header_id(path)
click to toggle source
Generates a c header id for the given path this is an identifier used for checking if the header has been implemented
Parameters: path - the path being converted
Return: a c header id generated from the given path
# File lib/helpers.rb, line 31 def c_header_id(path); "_#{path.upcase.gsub(/\/|\\/, "_")}_H_"; end