Sha256: da30bbca914218aaba4d1c0bb0e0939f1e3ca09a162289485f8b37b1c6cf5b68
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
module Virtus class Attribute # Example usage: # # class Post # include Virtus # # attribute :tags, Array # end # # post = Post.new(:tags => %w(red green blue)) class Array < Object primitive ::Array complex true end # class Array end # class Attribute end # module Virtus
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
virtus-0.0.5 | lib/virtus/attribute/array.rb |
virtus-0.0.4 | lib/virtus/attribute/array.rb |