Class: Celluloid::StackDump::CellState

Inherits:
Struct
  • Object
show all
Defined in:
lib/celluloid/stack_dump.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#subject_classObject

Returns the value of attribute subject_class

Returns:

  • (Object)

    the current value of subject_class


53
54
55
# File 'lib/celluloid/stack_dump.rb', line 53

def subject_class
  @subject_class
end

#subject_idObject

Returns the value of attribute subject_id

Returns:

  • (Object)

    the current value of subject_id


53
54
55
# File 'lib/celluloid/stack_dump.rb', line 53

def subject_id
  @subject_id
end

Instance Method Details

#dumpObject


54
55
56
# File 'lib/celluloid/stack_dump.rb', line 54

def dump
  "Celluloid::Cell 0x#{subject_id.to_s(16)}: #{subject_class}"
end