Class: Txnap::LockCandidate

Inherits:
Data
  • Object
show all
Defined in:
lib/txnap/report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#call_siteObject (readonly)

Returns the value of attribute call_site

Returns:

  • (Object)

    the current value of call_site



20
21
22
# File 'lib/txnap/report.rb', line 20

def call_site
  @call_site
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



20
21
22
# File 'lib/txnap/report.rb', line 20

def kind
  @kind
end

#statementObject (readonly)

Returns the value of attribute statement

Returns:

  • (Object)

    the current value of statement



20
21
22
# File 'lib/txnap/report.rb', line 20

def statement
  @statement
end

#tableObject (readonly)

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



20
21
22
# File 'lib/txnap/report.rb', line 20

def table
  @table
end

Instance Method Details

#to_hObject



21
22
23
# File 'lib/txnap/report.rb', line 21

def to_h
  {statement: statement, table: table, kind: kind, call_site: call_site}
end