MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / assert_dependencies

Method assert_dependencies

code2flow/ruby.py:196–201  ·  view source on GitHub ↗

Assert that ruby-parse is installed

()

Source from the content-addressed store, hash-verified

194class Ruby(BaseLanguage):
195 @staticmethod
196 def assert_dependencies():
197 """Assert that ruby-parse is installed"""
198 assert is_installed('ruby-parse'), "The 'parser' gem is requred to " \
199 "parse ruby files but was not found " \
200 "on the path. Install it from gem " \
201 "and try again."
202
203 @staticmethod
204 def get_tree(filename, lang_params):

Callers

nothing calls this directly

Calls 1

is_installedFunction · 0.85

Tested by

no test coverage detected