Fix some minor YARD issues #2

Merged
merged 2 commits into from Mar 18, 2013

Projects

None yet

2 participants

@mbj
Collaborator
mbj commented Mar 18, 2013

No description provided.

@dkubb dkubb and 1 other commented on an outdated diff Mar 18, 2013
lib/support/options.rb
@@ -4,6 +4,12 @@ module Coercible
module Options
Undefined = Class.new.freeze
+ # Hook called when descendant was extended
+ #
+ # @param [Class|Module] descendant
@dkubb
dkubb Mar 18, 2013 Collaborator

You probably want:

@param [Class,Module] descendant

When in doubt, you can paste the type signature into the form at http://yardoc.org/types.html to see how YARD interprets it.

@mbj
mbj Mar 18, 2013 Collaborator

@dkubb Thx I always forget this. No doubt involved ;)

@dkubb dkubb merged commit ae26d67 into solnic:master Mar 18, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment