Class: Virtus::Attribute::Numeric

Inherits:
Object show all
Defined in:
lib/virtus/attribute/numeric.rb

Overview

Base class for all numerical attributes

Direct Known Subclasses

Decimal, Float, Integer

Constant Summary

Constants inherited from Virtus::Attribute

DEFAULT_ACCESSOR, OPTIONS

Constants included from TypeLookup

TypeLookup::TYPE_FORMAT

Instance Attribute Summary

Attributes inherited from Virtus::Attribute

#coercion_method, #default, #instance_variable_name, #name, #options, #reader_visibility, #writer_visibility

Method Summary

Methods inherited from Virtus::Attribute

#coerce, #define_reader_method, #define_writer_method, #get, #get!, #initialize, #inspect, #set, #set!

Methods included from DescendantsTracker

#add_descendant, #descendants

Methods included from TypeLookup

#determine_type, #primitive

Methods included from Options

#accept_options, #accepted_options, #options

Constructor Details

This class inherits a constructor from Virtus::Attribute