lib/rubocop_challenger/rubocop/yardoc.rb
def load_yardoc!
        YARD.parse(source_file_path)
        @yardoc = YARD::Registry.all(:class).first
        YARD::Registry.clear
      end
# Loads yardoc from the RuboCop::Cop class file
Loads yardoc from the RuboCop::Cop class file
Loads yardoc from the RuboCop :: Cop class file
def load_yardoc!
        YARD.parse(source_file_path)
        @yardoc = YARD::Registry.all(:class).first
        YARD::Registry.clear
      end
def load_yardoc! YARD . parse ( source_file_path ) @yardoc = YARD :: Registry . all ( :class ) . first YARD :: Registry . clear end
Loads yardoc from the RuboCop::Cop class file
Loads yardoc from the RuboCop :: Cop class file