Class: D3::Set
Instance Method Summary collapse
Methods included from Native
Instance Method Details
#each(&block) ⇒ Object
12 13 14 15 |
# File 'lib/opal/d3/set.rb', line 12 def each(&block) @native.JS.each(block) self end |
#inspect ⇒ Object
17 18 19 |
# File 'lib/opal/d3/set.rb', line 17 def inspect "#<D3::Set: {#{ values.join(", ") }}>" end |