Module: D3::Native

Defined Under Namespace

Modules: Helpers

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



11
12
13
# File 'lib/opal/d3/native.rb', line 11

def self.included(klass)
  klass.extend Helpers
end

Instance Method Details

#initialize(native) ⇒ Object



6
7
8
9
# File 'lib/opal/d3/native.rb', line 6

def initialize(native)
  raise unless native
  @native = native
end