Class: D3::Set

Inherits:
Object
  • Object
show all
Includes:
Native
Defined in:
lib/opal/d3/set.rb

Instance Method Summary collapse

Methods included from Native

included, #initialize

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

#inspectObject



17
18
19
# File 'lib/opal/d3/set.rb', line 17

def inspect
  "#<D3::Set: {#{ values.join(", ") }}>"
end