method

comment_if

comment_if(value)
private

No documentation available.

# File railties/lib/rails/generators/app_base.rb, line 341
      def comment_if(value) # :doc:
        question = "#{value}?"

        comment =
          if respond_to?(question, true)
            send(question)
          else
            options[value]
          end

        comment ? "# " : ""
      end