Class: D3::BandScale

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

Instance Method Summary collapse

Methods included from Native

included, #initialize

Instance Method Details

#call(t) ⇒ Object



4
5
6
7
# File 'lib/opal/d3/band_scale.rb', line 4

def call(t)
  v = @native.call(t)
  `v === undefined ? nil : v`
end