Class: Celluloid::Internals::Stack::CellState

Inherits:
Struct
  • Object
show all
Defined in:
lib/celluloid/internals/stack/states.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



17
18
19
# File 'lib/celluloid/internals/stack/states.rb', line 17

def subject_class
  @subject_class
end

#subject_idObject

Returns the value of attribute subject_id

Returns:

  • (Object)

    the current value of subject_id



17
18
19
# File 'lib/celluloid/internals/stack/states.rb', line 17

def subject_id
  @subject_id
end

Instance Method Details

#dumpObject



18
19
20
# File 'lib/celluloid/internals/stack/states.rb', line 18

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