Class: RDKit::Introspection::Commandstats
- Extended by:
- ClassMethods
- Defined in:
- lib/rdkit/introspection.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize ⇒ Commandstats
constructor
A new instance of Commandstats.
Methods included from ClassMethods
Constructor Details
#initialize ⇒ Commandstats
Returns a new instance of Commandstats.
127 128 129 130 |
# File 'lib/rdkit/introspection.rb', line 127 def initialize @data = {} @data.default = 0 end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
125 126 127 |
# File 'lib/rdkit/introspection.rb', line 125 def data @data end |