Class: Pinspec::ModelFinding

Inherits:
Data
  • Object
show all
Defined in:
lib/pinspec/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



176
177
178
# File 'lib/pinspec/types.rb', line 176

def file
  @file
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



176
177
178
# File 'lib/pinspec/types.rb', line 176

def kind
  @kind
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



176
177
178
# File 'lib/pinspec/types.rb', line 176

def line
  @line
end

#modelObject (readonly)

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



176
177
178
# File 'lib/pinspec/types.rb', line 176

def model
  @model
end

Instance Method Details

#to_sObject



177
178
179
# File 'lib/pinspec/types.rb', line 177

def to_s
  "#{model} #{kind} at #{file}:#{line}"
end