Helpers for various object types
@return [Boolean] whether an object is a class
# File lib/yard/templates/helpers/filter_helper.rb, line 16 def is_class?(object) object.is_a?(CodeObjects::ClassObject) end
@return [Boolean] whether an object is a method
# File lib/yard/templates/helpers/filter_helper.rb, line 6 def is_method?(object) object.type == :method end
Generated with the Darkfish Rdoc Generator 2.