Permalink
Browse files

Changed semipublic to public

* No point in having the semipublic/public distinction.
  • Loading branch information...
1 parent b7972d0 commit 9c9f26a3844943bfaa6604f45f9272f91dca515f @dkubb dkubb committed Jul 8, 2011
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/virtus/attribute.rb
  2. +1 −1 lib/virtus/attribute/boolean.rb
View
@@ -20,7 +20,7 @@ class Attribute
# @return [nil]
# nil if the type cannot be determined by the class_or_name
#
- # @api semipublic
+ # @api public
def self.determine_type(class_or_name)
# first match on the Attribute singleton class first, then match
# any class, finally fallback to matching on the string
@@ -192,7 +192,7 @@ def self.inherited(descendant)
#
# @return [TrueClass, FalseClass]
#
- # @api semipublic
+ # @api public
def self.primitive?(value)
value.kind_of?(primitive)
end
@@ -268,7 +268,7 @@ def initialize(name, options = {})
#
# @return [TrueClass, FalseClass]
#
- # @api semipublic
+ # @api public
def complex?
@complex
end
@@ -28,7 +28,7 @@ class Boolean < Object
#
# @return [TrueClass,FalseClass]
#
- # @api semipublic
+ # @api public
def self.primitive?(value)
value.equal?(true) || value.equal?(false)
end

0 comments on commit 9c9f26a

Please sign in to comment.