Class: Fixnum

Inherits:
Object show all
Defined in:
opal/opal/corelib/marshal/write_buffer.rb

Instance Method Summary collapse

Instance Method Details

#__marshal__(buffer) ⇒ Object



18
19
20
21
# File 'opal/opal/corelib/marshal/write_buffer.rb', line 18

def __marshal__(buffer)
  buffer.append('i')
  buffer.write_fixnum(self)
end