lib/peeky/renderer/class_interface_yard_render.rb
# Indentation prefix as a string, defaults to +''+
#
# If you were writing a class into a file with an existing
# module, you may set the indent to +'  '+ if you wanted this
# render to indent by two spaces
Indentation prefix as a string, defaults to +''+
If you were writing a class into a file with an existing
module, you may set the indent to +'  '+ if you wanted this
render to indent by two spaces
Indentation prefix as a string defaults to + ' ' + If you were writing a class into a file with an existing module you may set the indent to + ' ' + if you wanted this render to indent by two spaces
def render_class_methods
        return if class_info.class_methods.length.zero?
        result = ["#{@indent}# Class methods", "#{@indent}class << self"]
        @indent += '  '
        class_info.class_methods.map.with_index do |method_signature, index|
          render_method(result, method_signature, index)
        end
        @indent.delete_suffix!('  ')
        result.push "#{@indent}end"
        @output += result
      end
def render_class_methods return if class_info . class_methods . length . zero? result = [ "#{@indent}# Class methods" , "#{@indent}class << self" ] @indent += '  ' class_info . class_methods . map . with_index do | method_signature , index | render_method ( result , method_signature , index ) end @indent . delete_suffix! ( '  ' ) result . push "#{@indent}end" @output += result end
Indentation prefix as a string, defaults to +''+
If you were writing a class into a file with an existing
module, you may set the indent to +'  '+ if you wanted this
render to indent by two spaces
Indentation prefix as a string defaults to + ' ' + If you were writing a class into a file with an existing module you may set the indent to + ' ' + if you wanted this render to indent by two spaces