Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix visibility of Virtus::ValueObject::Equalizer#compile

  • Loading branch information...
commit 2d788d7810a9dd6908224aca965180623af0d915 1 parent b06a3b6
@solnic authored
View
4 lib/virtus/value_object/equalizer.rb
@@ -24,6 +24,8 @@ def <<(key)
compile
end
+ private
+
# Compile the equalizer methods based on #keys
#
# @return [self]
@@ -37,8 +39,6 @@ def compile
self
end
- private
-
# Define an inspect method that reports the values of the instance's keys
#
# @return [undefined]
View
5 spec/unit/virtus/value_object/equalizer/compile_spec.rb
@@ -1,5 +0,0 @@
-require 'spec_helper'
-
-describe Virtus::ValueObject::Equalizer, '#compile' do
- it 'should have spec'
-end
Please sign in to comment.
Something went wrong with that request. Please try again.