Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Nuke dead code

  • Loading branch information...
commit 92b9a91063ca65faf0d6c64921fe9fb04d8aad7c 1 parent 8921302
@solnic authored
Showing with 0 additions and 14 deletions.
  1. +0 −14 lib/virtus/attribute/accessor.rb
View
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]
Please sign in to comment.
Something went wrong with that request. Please try again.