method

from_file_by_path

ruby latest stable - Class: Gem::Format

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

from_file_by_path(file_path, security_policy = nil)
public

Reads the gem file_path using security_policy and returns a Format representing the data in the gem