lib/peeky/renderer/method_signature_render.rb
# Render the method signature in the selected style
Render the method signature in the selected style
Render the method signature in the selected style
def render
        output = []
        if @style == :compact
          signature = "#{render_signature};"
          output.push "#{signature.ljust(80)}#{render_end}"
        end
        if @style == :default
          output.push render_signature
          output.push render_end
        end
        output.join("\n")
      end
def render output = [ ] if @style == :compact signature = "#{render_signature};" output . push "#{signature.ljust(80)}#{render_end}" end if @style == :default output . push render_signature output . push render_end end output . join ( "\n" ) end
Render the method signature in the selected style
Render the method signature in the selected style