Class: Wakame::InstanceCounter
- Inherits:
-
Object
- Object
- Wakame::InstanceCounter
- Includes:
- AttributeHelper
- Defined in:
- lib/wakame/instance_counter.rb
Direct Known Subclasses
Defined Under Namespace
Classes: OutOfLimitRangeError
Constant Summary
Constants included from AttributeHelper
AttributeHelper::CLASS_TYPE_KEY, AttributeHelper::CONVERT_CLASSES, AttributeHelper::PRIMITIVE_CLASSES
Instance Method Summary collapse
Methods included from AttributeHelper
#dump_attrs, #retrieve_attr_attribute
Instance Method Details
#bind_resource(resource) ⇒ Object
7 8 9 |
# File 'lib/wakame/instance_counter.rb', line 7 def bind_resource(resource) @resource = resource end |
#instance_count ⇒ Object
15 16 17 |
# File 'lib/wakame/instance_counter.rb', line 15 def instance_count raise NotImplementedError end |
#resource ⇒ Object
11 12 13 |
# File 'lib/wakame/instance_counter.rb', line 11 def resource @resource end |