Flowdock
method

remove_tag_from

Importance_0
1.1.12 - Show latest stable - 0 notes - Class: Spec::Story::Runner::StoryParser::State
remove_tag_from(tag, line) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/story/runner/story_parser.rb, line 131
          def remove_tag_from(tag, line)
            tokens = line.split
            # validation of tag can go here
            tokens[0].downcase.match(/#{tag.to_s}:?/) ? 
                                (tokens[1..-1].join(' ')) : line
          end
Register or log in to add new notes.