module MarkdownRubyDocumentation::RejectBlankMethod

Public Class Methods

call(methods) click to toggle source
# File lib/markdown_ruby_documentation/reject_blank_methods.rb, line 3
def self.call(methods)
  methods.reject do |_, hash|
    hash[:text].nil? || hash[:text].blank?
  end
end