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



35
36
37
# File 'lib/gemfilelint.rb', line 35

def path
  @path
end

Instance Method Details

#to_sObject



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

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