lib/rubo/robot.rb
# Loads plugin in the given file path.
#
# @param plugin_path [String]
# @return [void]
Loads plugin in the given file path.
Loads plugin in the given file path .
def load_plugin(plugin_path)
      plugin_name = File.basename(plugin_path).sub('.rb', '')
      logger.debug "Loading plugin \"#{plugin_name}\""
      EvalContext.new(self).evaluate(plugin_path)
      parse_help(plugin_path)
    rescue => e
      logger.error \
      "Could not load plugin \"#{plugin_path}\": #{e.message}\n" +
        e.backtrace.join("\n")
      exit 1
    end
def load_plugin ( plugin_path ) plugin_name = File . basename ( plugin_path ) . sub ( '.rb' , '' ) logger . debug "Loading plugin \"#{plugin_name}\"" EvalContext . new ( self ) . evaluate ( plugin_path ) parse_help ( plugin_path ) rescue => e logger . error "Could not load plugin \"#{plugin_path}\": #{e.message}\n" + e . backtrace . join ( "\n" ) exit 1 end
Loads plugin in the given file path.
Loads plugin in the given file path .
None
void
plugin_path
<not_specific>
<not_specific>
None