Class: MiniRacer::Snapshot

Inherits:
Object
  • Object
show all
Defined in:
lib/mini_racer.rb

Overview

‘size` and `warmup!` public methods are defined in the C class

Instance Method Summary collapse

Constructor Details

#initialize(str = '') ⇒ Snapshot

Returns a new instance of Snapshot.



267
268
269
270
# File 'lib/mini_racer.rb', line 267

def initialize(str = '')
  # defined in the C class
  load(str)
end