Class: Chem::CDK::CDKBond

Inherits:
Object
  • Object
show all
Includes:
Bond
Defined in:
lib/chem/utils/cdk.rb

Instance Attribute Summary

Attributes included from Bond

#color

Instance Method Summary collapse

Methods included from Bond

#bond_type, #stereo, #to_mdl, #topology

Constructor Details

#initialize(cdk_bond) ⇒ CDKBond

Returns a new instance of CDKBond.



37
38
39
# File 'lib/chem/utils/cdk.rb', line 37

def initialize(cdk_bond)
  @cdk_bond = cdk_bond
end

Instance Method Details

#vObject



41
# File 'lib/chem/utils/cdk.rb', line 41

def v ; @cdk_bond.getOrder ; end