Class: RDKit::Introspection::Stats
- 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 ⇒ Stats
constructor
A new instance of Stats.
Methods included from ClassMethods
Constructor Details
#initialize ⇒ Stats
Returns a new instance of Stats.
100 101 102 103 |
# File 'lib/rdkit/introspection.rb', line 100 def initialize @data = {} @data.default = 0 end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
98 99 100 |
# File 'lib/rdkit/introspection.rb', line 98 def data @data end |