Class: JavascriptSimpleEnumerator
- Inherits:
-
JavascriptObject
- Object
- JavascriptObject
- JavascriptSimpleEnumerator
- Includes:
- Enumerable
- Defined in:
- lib/vapir-firefox/javascript_object.rb
Instance Attribute Summary
Attributes inherited from JavascriptObject
#debug_name, #firefox_socket, #function_result, #ref
Instance Method Summary collapse
Methods inherited from JavascriptObject
#%, #*, #+, #-, #/, #<, #<=, #==, #>, #>=, #[], #[]=, always_define_methods, always_define_methods=, #assign, #assign_expr, #assign_or_call_or_val_or_object_by_suffix, #attr, #binary_operator, #call, #define_methods!, #implemented_interfaces, #initialize, #inspect, #instanceof, #invoke, #invoke?, #method_missing, #new, #object_respond_to?, #object_type, #pass, #pretty_print, #respond_to?, #store, #store_rand_object_key, #store_rand_temp, #sub, #to_array, #to_dom, #to_function, #to_hash, #to_js_array, #to_js_hash, #to_js_hash_safe, #to_ruby_array, #to_ruby_hash, #to_simple_enumerator, #triple_equals, #type, #val, #val_or_object, #val_str
Constructor Details
This class inherits a constructor from JavascriptObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class JavascriptObject
Instance Method Details
#each ⇒ Object
752 753 754 755 756 757 |
# File 'lib/vapir-firefox/javascript_object.rb', line 752 def each stored = store_rand_temp while stored.hasMoreElements yield stored.getNext end end |