Class: Avm::Ruby::Bundler::IncompatibleParser
- Defined in:
- lib/avm/ruby/bundler/incompatible_parser.rb,
lib/avm/ruby/bundler/incompatible_parser/depends_on.rb,
lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb,
lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb,
lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb,
lib/avm/ruby/bundler/incompatible_parser/line_factory.rb,
lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb,
lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb
Defined Under Namespace
Classes: DependsOn, GemConflict, InGemfile, LineBuffer, LineFactory, LineParserBase, VersionRequirement
Instance Attribute Summary collapse
-
#gems_in_conflict ⇒ Object
readonly
Returns the value of attribute gems_in_conflict.
Instance Method Summary collapse
- #data ⇒ Object
-
#initialize(path) ⇒ IncompatibleParser
constructor
A new instance of IncompatibleParser.
Constructor Details
#initialize(path) ⇒ IncompatibleParser
Returns a new instance of IncompatibleParser.
14 15 16 17 |
# File 'lib/avm/ruby/bundler/incompatible_parser.rb', line 14 def initialize(path) @gems_in_conflict = ::Avm::Ruby::Bundler::IncompatibleParser::LineBuffer .from_file(path).gems_in_conflict.freeze end |
Instance Attribute Details
#gems_in_conflict ⇒ Object (readonly)
Returns the value of attribute gems_in_conflict.
12 13 14 |
# File 'lib/avm/ruby/bundler/incompatible_parser.rb', line 12 def gems_in_conflict @gems_in_conflict end |
Instance Method Details
#data ⇒ Object
19 20 21 |
# File 'lib/avm/ruby/bundler/incompatible_parser.rb', line 19 def data gems_in_conflict.map(&:data) end |