Class: Txnap::LockCandidate
- Inherits:
-
Data
- Object
- Data
- Txnap::LockCandidate
- Defined in:
- lib/txnap/report.rb
Instance Attribute Summary collapse
-
#call_site ⇒ Object
readonly
Returns the value of attribute call_site.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#statement ⇒ Object
readonly
Returns the value of attribute statement.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
Instance Attribute Details
#call_site ⇒ Object (readonly)
Returns the value of attribute call_site
20 21 22 |
# File 'lib/txnap/report.rb', line 20 def call_site @call_site end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
20 21 22 |
# File 'lib/txnap/report.rb', line 20 def kind @kind end |
#statement ⇒ Object (readonly)
Returns the value of attribute statement
20 21 22 |
# File 'lib/txnap/report.rb', line 20 def statement @statement end |
#table ⇒ Object (readonly)
Returns the value of attribute table
20 21 22 |
# File 'lib/txnap/report.rb', line 20 def table @table end |
Instance Method Details
#to_h ⇒ Object
21 22 23 |
# File 'lib/txnap/report.rb', line 21 def to_h {statement: statement, table: table, kind: kind, call_site: call_site} end |