Class: Chem::TINKER::TinkerBond

Inherits:
Object
  • Object
show all
Includes:
Bond
Defined in:
lib/chem/db/tinker.rb

Instance Attribute Summary collapse

Attributes included from Bond

#color

Instance Method Summary collapse

Methods included from Bond

#bond_type, #stereo, #to_mdl, #topology

Constructor Details

#initialize(b, e) ⇒ TinkerBond

Returns a new instance of TinkerBond.



32
33
34
# File 'lib/chem/db/tinker.rb', line 32

def initialize b, e
  @b, @e = b, e
end

Instance Attribute Details

#bObject

Returns the value of attribute b.



31
32
33
# File 'lib/chem/db/tinker.rb', line 31

def b
  @b
end

#eObject

Returns the value of attribute e.



31
32
33
# File 'lib/chem/db/tinker.rb', line 31

def e
  @e
end

#qObject

Returns the value of attribute q.



31
32
33
# File 'lib/chem/db/tinker.rb', line 31

def q
  @q
end

#vObject

Returns the value of attribute v.



31
32
33
# File 'lib/chem/db/tinker.rb', line 31

def v
  @v
end