Class: Pinspec::ModelFinding
- Inherits:
-
Data
- Object
- Data
- Pinspec::ModelFinding
- Defined in:
- lib/pinspec/types.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#model ⇒ Object
readonly
Returns the value of attribute model.
Instance Method Summary collapse
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file
184 185 186 |
# File 'lib/pinspec/types.rb', line 184 def file @file end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
184 185 186 |
# File 'lib/pinspec/types.rb', line 184 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
184 185 186 |
# File 'lib/pinspec/types.rb', line 184 def line @line end |
#model ⇒ Object (readonly)
Returns the value of attribute model
184 185 186 |
# File 'lib/pinspec/types.rb', line 184 def model @model end |
Instance Method Details
#to_s ⇒ Object
185 186 187 |
# File 'lib/pinspec/types.rb', line 185 def to_s "#{model} #{kind} at #{file}:#{line}" end |