Module: EasyType::Type
- Defined in:
- lib/easy_type/type.rb
Overview
This module contains all extensions used by EasyType within the type
To use it, include the following statement in your type
include EasyType::Type
Defined Under Namespace
Modules: ClassMethods
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (Group) groups
Return the groups the type contains.
Class Method Details
+ (Object) included(parent)
14 15 16 |
# File 'lib/easy_type/type.rb', line 14 def self.included(parent) parent.extend(ClassMethods) end |
Instance Method Details
- (Group) groups
Return the groups the type contains
23 24 25 |
# File 'lib/easy_type/type.rb', line 23 def groups self.class.groups end |