Class: Preact::Ref
- Includes:
- Native::Wrapper
- Defined in:
- lib/preact/ref.rb
Instance Method Summary collapse
- #current ⇒ Object
-
#initialize(native) ⇒ Ref
constructor
A new instance of Ref.
- #is_wrapped_ref ⇒ Object
Constructor Details
#initialize(native) ⇒ Ref
Returns a new instance of Ref.
5 6 7 |
# File 'lib/preact/ref.rb', line 5 def initialize(native) @native = native end |