Class: Blakey::Repository::Ruby::RubyVersionFetcher
- Inherits:
-
Object
- Object
- Blakey::Repository::Ruby::RubyVersionFetcher
- Defined in:
- lib/blakey/repository/ruby/ruby_version_fetcher.rb
Instance Method Summary collapse
-
#initialize(gemfile_lock_parser:, source:) ⇒ RubyVersionFetcher
constructor
A new instance of RubyVersionFetcher.
- #version ⇒ Object
Constructor Details
#initialize(gemfile_lock_parser:, source:) ⇒ RubyVersionFetcher
Returns a new instance of RubyVersionFetcher.
7 8 9 10 |
# File 'lib/blakey/repository/ruby/ruby_version_fetcher.rb', line 7 def initialize(gemfile_lock_parser:, source:) @gemfile_lock_parser = gemfile_lock_parser @source = source end |
Instance Method Details
#version ⇒ Object
12 13 14 |
# File 'lib/blakey/repository/ruby/ruby_version_fetcher.rb', line 12 def version format_version(fetched_version) end |