lib/peeky/renderer/class_interface_render.rb
# ClassInfo with information about the class instance to be rendered.
ClassInfo with information about the class instance to be rendered.
ClassInfo with information about the class instance to be rendered .
def render_class_methods(methods)
        return if methods.length.zero?
        @output += ["#{@indent}class << self"]
        @indent += '  '
        @output += render_methods(methods)
        @indent.delete_suffix!('  ')
        @output.pop if @output.last == ''
        @output += ["#{@indent}end", '']
      end
def render_class_methods ( methods ) return if methods . length . zero? @output += [ "#{@indent}class << self" ] @indent += '  ' @output += render_methods ( methods ) @indent . delete_suffix! ( '  ' ) @output . pop if @output . last == '' @output += [ "#{@indent}end" , '' ] end
ClassInfo with information about the class instance to be rendered.
ClassInfo with information about the class instance to be rendered .
methods
<not_specific>