Sha256: 3097ffa8c1f5cf2bf785b970b9134e14bdca5874dd4e0afd6b40c8c3537d6501
Contents?: true
Size: 1.77 KB
Versions: 3
Compression:
Stored size: 1.77 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 [undefined] # # @api private def self.included(descendant) super descendant.extend(ClassMethods) descendant.send(:include, InstanceMethods) end private_class_method :included end # module Virtus require 'virtus/support/descendants_tracker' require 'virtus/support/type_lookup' require 'virtus/support/options' require 'virtus/class_methods' require 'virtus/instance_methods' require 'virtus/attribute_set' require 'virtus/coercion' require 'virtus/coercion/object' require 'virtus/coercion/numeric' require 'virtus/coercion/integer' require 'virtus/coercion/float' require 'virtus/coercion/decimal' require 'virtus/coercion/false_class' require 'virtus/coercion/true_class' require 'virtus/coercion/hash' require 'virtus/coercion/time_coercions' require 'virtus/coercion/date' require 'virtus/coercion/date_time' require 'virtus/coercion/time' require 'virtus/coercion/string' require 'virtus/coercion/symbol' require 'virtus/attribute/default_value' require 'virtus/attribute' require 'virtus/attribute/object' require 'virtus/attribute/class' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
virtus-0.0.9 | lib/virtus.rb |
virtus-0.0.8 | lib/virtus.rb |
virtus-0.0.7 | lib/virtus.rb |