Skip to content

Commit

Permalink
Use Virtus::Equalizer instead of Equalizer gem in Virtus#Attribute (b…
Browse files Browse the repository at this point in the history
…ehavior preserved)
  • Loading branch information
novikserg committed Jul 19, 2015
1 parent 5f33f81 commit 3748f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/virtus/attribute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module Virtus
class Attribute
extend DescendantsTracker, Options, TypeLookup

include ::Equalizer.new(:type, :options)
include Equalizer.new(inspect) << :type << :options

accept_options :primitive, :accessor, :default, :lazy, :strict, :required, :finalize, :nullify_blank

Expand Down

0 comments on commit 3748f6e

Please sign in to comment.