Class: Ferrum::CyclicObject
- Inherits:
-
Object
- Object
- Ferrum::CyclicObject
- Includes:
- Singleton
- Defined in:
- lib/ferrum/frame/runtime.rb
Overview
Placeholder object substituted for a JavaScript value that couldn't be fully serialized because it contains circular references. It exists only so that #inspect can report the situation instead of the evaluation raising or hanging.
Instance Method Summary collapse
-
#inspect ⇒ String
Debug representation of the singleton placeholder.
Instance Method Details
#inspect ⇒ String
Debug representation of the singleton placeholder.
18 19 20 |
# File 'lib/ferrum/frame/runtime.rb', line 18 def inspect %(#<#{self.class} JavaScript object that cannot be represented in Ruby>) end |