lib/garcon/chef/validations.rb in garcun-0.0.8 vs lib/garcon/chef/validations.rb in garcun-0.0.9
- old
+ new
@@ -54,17 +54,17 @@
source =~ URI::ABS_URI && URI.parse(source).absolute?
rescue URI::InvalidURIError
false
end
- # Hook called when module is included, extends a descendant with class
- # and instance methods.
+ # Hook called when module is included.
#
# @param [Module] descendant
- # The module or class including Garcon::Resource::Validations
+ # The including module or class.
#
# @return [self]
#
+ # @api private
def included(descendant)
super
descendant.extend ClassMethods
end
end