Class: D3::PointScale

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

Instance Method Summary collapse

Methods included from Native

included, #initialize

Instance Method Details

#call(t) ⇒ Object



5
6
7
8
# File 'lib/opal/d3/point_scale.rb', line 5

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