Class: Gemfilelint::Parser::Invalid
- Inherits:
-
Struct
- Object
- Struct
- Gemfilelint::Parser::Invalid
- Defined in:
- lib/gemfilelint.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
98 99 100 |
# File 'lib/gemfilelint.rb', line 98 def path @path end |
Instance Method Details
#each_offense {|Offenses::InvalidGemfile.new(path)| ... } ⇒ Object
99 100 101 |
# File 'lib/gemfilelint.rb', line 99 def each_offense(**) yield Offenses::InvalidGemfile.new(path) end |