Class: Pinspec::SkippedStatement
- Inherits:
-
Data
- Object
- Data
- Pinspec::SkippedStatement
- Defined in:
- lib/pinspec/types.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#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.
-
#references ⇒ Object
readonly
Returns the value of attribute references.
-
#relevant ⇒ Object
readonly
Returns the value of attribute relevant.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
412 413 414 |
# File 'lib/pinspec/types.rb', line 412 def column @column end |
#file ⇒ Object (readonly)
Returns the value of attribute file
412 413 414 |
# File 'lib/pinspec/types.rb', line 412 def file @file end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
412 413 414 |
# File 'lib/pinspec/types.rb', line 412 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
412 413 414 |
# File 'lib/pinspec/types.rb', line 412 def line @line end |
#references ⇒ Object (readonly)
Returns the value of attribute references
412 413 414 |
# File 'lib/pinspec/types.rb', line 412 def references @references end |
#relevant ⇒ Object (readonly)
Returns the value of attribute relevant
412 413 414 |
# File 'lib/pinspec/types.rb', line 412 def relevant @relevant end |
#table ⇒ Object (readonly)
Returns the value of attribute table
412 413 414 |
# File 'lib/pinspec/types.rb', line 412 def table @table end |
Instance Method Details
#to_s ⇒ Object
415 416 417 418 419 |
# File 'lib/pinspec/types.rb', line 415 def to_s subject = column ? "#{table}.#{column}" : table via = Array(references).empty? ? "" : " on #{Array(references).join(', ')}" "#{kind}#{subject ? " (#{subject})" : ""}#{via} at #{file}:#{line}" end |