Module: Subtype
- Included in:
- NoSE::Backend::CassandraBackend, NoSE::Backend::FileBackend, NoSE::Backend::MongoBackend, NoSE::Cost::CassandraCost, NoSE::Cost::EntityCountCost, NoSE::Cost::FieldSizeCost, NoSE::Cost::RequestCountCost
- Defined in:
- lib/nose/util.rb
Overview
Allow subclasses to return a string representing of the class, minus a common suffix also used in the superclass
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ void
Add instance and class methods when this module is included.
Class Method Details
.included(base) ⇒ void
This method returns an undefined value.
Add instance and class methods when this module is included
112 113 114 115 |
# File 'lib/nose/util.rb', line 112 def self.included(base) base.send :include, InstanceMethods base.extend ClassMethods end |