On Fri, Mar 21, 2008 at 10:56 AM, Rick DeNatale <[EMAIL PROTECTED]> wrote:
>
> On 3/21/08, David Chelimsky <[EMAIL PROTECTED]> wrote:
>  > On Fri, Mar 21, 2008 at 10:02 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
>  >  >
>  >  > On Fri, Mar 21, 2008 at 9:38 AM, David Chelimsky <[EMAIL PROTECTED]> 
> wrote:
>  >
>  > >  >  Perhaps now is the time to devise a formal "comment indicator." I
>  >  >  >  think the obvious choice would be the same one we use in Ruby: #
>  >  >  >
>  >  >  >  Given this step
>  >  >  >  # this is a comment
>  >  >  >  When this other step
>  >  >  >  etc
>  >  >  >
>  >  >  >  Thoughts?
>  >  >  >
>  >  >
>  >  >  Rather than anything that does not start with
>  >  >  Scenario|Given|When|Then|And being treated as a comment it seems more
>  >  >  future-proof if we just say that any line whose first non-whitespace
>  >  >  character is a # ...  is a comment.
>  >
>  >
>  > Great idea Zach! Glad you thought of it ;)
>
>  Doesn't it already work this way?
>
>  If I "comment out" lines this way in a plain text story, they seem to
>  be totally ignored.

Yes but that's not because it is explicitly ignored based on that
character. What we're discussing here is making it explicit.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to