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



184
185
186
# File 'lib/pinspec/types.rb', line 184

def file
  @file
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



184
185
186
# File 'lib/pinspec/types.rb', line 184

def kind
  @kind
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



184
185
186
# File 'lib/pinspec/types.rb', line 184

def line
  @line
end

#modelObject (readonly)

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



184
185
186
# File 'lib/pinspec/types.rb', line 184

def model
  @model
end

Instance Method Details

#to_sObject



185
186
187
# File 'lib/pinspec/types.rb', line 185

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