Class: Proc
- Defined in:
- opal/stdlib/await.rb,
 opal/stdlib/native.rb,
 opal/stdlib/ruby2_keywords.rb
Instance Method Summary collapse
- #async? ⇒ Boolean
- 
  
    
      #ruby2_keywords  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    call-seq: proc.ruby2_keywords -> proc. 
- #to_n ⇒ Object
Instance Method Details
#async? ⇒ Boolean
| 70 71 72 | # File 'opal/stdlib/await.rb', line 70 def async? `self instanceof AsyncFunction` end | 
#ruby2_keywords ⇒ Object
call-seq: proc.ruby2_keywords -> proc
Does nothing and just returns the receiver.
| 34 35 36 | # File 'opal/stdlib/ruby2_keywords.rb', line 34 def ruby2_keywords self end | 
#to_n ⇒ Object
| 456 457 458 | # File 'opal/stdlib/native.rb', line 456 def to_n self end |