Method: FastRI::RiIndex#get_method
- Defined in:
- lib/fastri/ri_index.rb
#get_method(method_entry) ⇒ Object
Return the MethodDescription for a given MethodEntry by deserializing the YAML.
344 345 346 347 |
# File 'lib/fastri/ri_index.rb', line 344 def get_method(method_entry) path = method_entry.path_name File.open(path) { |f| RI::Description.deserialize(f) } end |