Permalink
Browse files

Nuke dead code

  • Loading branch information...
1 parent 8921302 commit 92b9a91063ca65faf0d6c64921fe9fb04d8aad7c @solnic committed Mar 28, 2013
Showing with 0 additions and 14 deletions.
  1. +0 −14 lib/virtus/attribute/accessor.rb
@@ -36,20 +36,6 @@ def self.build(*args)
Builder.call(*args)
end
- # Determine visibility of reader/write methods based on the options hash
- #
- # @return [::Hash]
- #
- # @api private
- def self.determine_visibility(options)
- default_accessor = options.fetch(:accessor, :public)
- reader_visibility = options.fetch(:reader, default_accessor)
- writer_visibility = options.fetch(:writer, default_accessor)
-
- { :reader => reader_visibility, :writer => writer_visibility }
- end
- private_class_method :determine_visibility
-
# Initialize a new accessor instance
#
# @param [Reader]

0 comments on commit 92b9a91

Please sign in to comment.