Module: Attributor::Type
- Included in:
- BigDecimal, Boolean, Date, DateTime, Float, Integer, Object, String, Symbol, Tempfile, Time
- Defined in:
- lib/attributor/type.rb
Overview
It is the abstract base class to hold an attribute, both a leaf and a container (hash/Array…) TODO: should this be a mixin since it is an abstract class?
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
7 8 9 |
# File 'lib/attributor/type.rb', line 7 def self.included( klass ) klass.extend(ClassMethods) end |