Sha256: b3879c92a4774d91ee1bb8c44644fcf67bcc3aa965d526779ed8240f46bb543a
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
require 'date' require 'time' require 'bigdecimal' require 'bigdecimal/util' # Base module which adds Attribute API to your classes module Virtus # Represents an undefined parameter used by auto-generated option methods Undefined = Object.new.freeze # Extends base class with class and instance methods # # @param [Class] descendant # # @return [Class] # # @api private def self.included(descendant) descendant.extend(DescendantsTracker) descendant.extend(ClassMethods) descendant.send(:include, InstanceMethods) end end # module Virtus require 'virtus/support/descendants_tracker' require 'virtus/class_methods' require 'virtus/instance_methods' require 'virtus/attribute_set' require 'virtus/typecast/boolean' require 'virtus/typecast/numeric' require 'virtus/typecast/string' require 'virtus/typecast/time' require 'virtus/attribute' require 'virtus/attribute/object' require 'virtus/attribute/array' require 'virtus/attribute/boolean' require 'virtus/attribute/date' require 'virtus/attribute/date_time' require 'virtus/attribute/numeric' require 'virtus/attribute/decimal' require 'virtus/attribute/float' require 'virtus/attribute/hash' require 'virtus/attribute/integer' require 'virtus/attribute/string' require 'virtus/attribute/time'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virtus-0.0.5 | lib/virtus.rb |