Chem::Templates::Bond
Inherits Reference / Object
Constructors
new(lhs : Atom, rhs : Atom, order : BondOrder = :single)
SourceInstance methods
atoms
Sourcedouble?(*args, **options)
Sourcedouble?(*args, **options, &)
Sourceincludes?(atom_t : Atom) : Bool
Sourceincludes?(name : String) : Bool
Sourceorder
Sourceother(atom_t : Atom) : Atom
Sourceother(name : String) : Atom
Sourceother?(atom_t : Atom) : Atom | Nil
Sourceother?(name : String) : Atom | Nil
Sourcereverse
Sourcesingle?(*args, **options)
Sourcesingle?(*args, **options, &)
Sourceto_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
triple?(*args, **options)
Sourcetriple?(*args, **options, &)
Sourcezero?(*args, **options)
Sourcezero?(*args, **options, &)
Source