Method: MrubyBridgeSignaturePluginModule#set_exclude

Defined in:
lib/tecsgen/plugin/lib/MrubyBridgeSignaturePluginModule.rb

#set_exclude(rhs) ⇒ Object

プラグイン引数 exclude



254
255
256
257
258
259
260
261
262
263
264
265
# File 'lib/tecsgen/plugin/lib/MrubyBridgeSignaturePluginModule.rb', line 254

def set_exclude rhs
  funcs = rhs.split ','
  funcs.each{ |rhs_func|
    rhs_func.gsub!( /\s/, "" )
    func_head = @signature.get_function_head rhs_func.to_sym
    if func_head == false then
      cdl_error( "MRB1010 exclude function '$1' not found in signagture '$2", rhs, @signature.get_name )
    else
      @excludes << rhs_func.to_sym
    end
  }
end