Method: RDocF95::RI::Reader#get_method
- Defined in:
- lib/rdoc-f95/ri/reader.rb
#get_method(method_entry) ⇒ Object
Return the MethodDescription for a given MethodEntry by deserializing the YAML
46 47 48 49 |
# File 'lib/rdoc-f95/ri/reader.rb', line 46 def get_method(method_entry) path = method_entry.path_name File.open(path) { |f| RI::Description.deserialize(f) } end |