Permalink
Browse files

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

  • Loading branch information...
1 parent b06a3b6 commit 2d788d7810a9dd6908224aca965180623af0d915 @solnic committed Mar 19, 2012
Showing with 2 additions and 7 deletions.
  1. +2 −2 lib/virtus/value_object/equalizer.rb
  2. +0 −5 spec/unit/virtus/value_object/equalizer/compile_spec.rb
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

0 comments on commit 2d788d7

Please sign in to comment.