class Chem::Bond
- Chem::Bond
- Reference
- Object
Defined in:
chem/core/bond.crConstructors
- .new(first : Chem::Atom, second : Chem::Atom, kind : Kind = :single)
- .new(first, second, order : Int32)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #[](index : Int32) : Atom
- #dative?(*args, **options)
- #dative?(*args, **options, &)
- #distance : Float64
- #double?(*args, **options)
- #double?(*args, **options, &)
- #first : Atom
- #includes?(atom : Atom) : Bool
- #inspect(io : ::IO) : Nil
- #kind : Kind
- #kind=(kind : Kind)
- #order : Int32
- #order=(order : Int32)
- #other(atom : Atom) : Atom
- #second : Atom
- #single?(*args, **options)
- #single?(*args, **options, &)
- #squared_distance : Float64
- #to_char : Char
- #triple?(*args, **options)
- #triple?(*args, **options, &)
- #zero?(*args, **options)
- #zero?(*args, **options, &)
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.