pub struct RubyParser;Expand description
Parses Ruby dependencies from Gemfile
Implementations§
Source§impl RubyParser
impl RubyParser
Sourcepub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
pub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
Parses dependencies from Gemfile
Sourcepub fn has_manifest(&self, root: &Path) -> bool
pub fn has_manifest(&self, root: &Path) -> bool
Checks if Gemfile exists
Trait Implementations§
Source§impl Debug for RubyParser
impl Debug for RubyParser
Auto Trait Implementations§
impl Freeze for RubyParser
impl RefUnwindSafe for RubyParser
impl Send for RubyParser
impl Sync for RubyParser
impl Unpin for RubyParser
impl UnwindSafe for RubyParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more