Class: Gemfilelint::Offenses::InvalidGemfile

Inherits:
Struct
  • Object
show all
Defined in:
lib/gemfilelint.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



37
38
39
# File 'lib/gemfilelint.rb', line 37

def path
  @path
end

Instance Method Details

#to_sObject



38
39
40
# File 'lib/gemfilelint.rb', line 38

def to_s
  "Gemfile at \"#{path}\" is invalid."
end