module Cucumber::Core::Gherkin::Writer::HasOptionsInitializer

def self.included(base)

def self.included(base)
  base.extend HasDefaultKeyword
end

def comments_statement

def comments_statement
  @comments
end

def initialize(*args)

def initialize(*args)
  @comments = args.shift if args.first.is_a?(Array)
  @comments ||= []
  @options = args.pop if args.last.is_a?(Hash)
  @options ||= {}
  @name = args.first
end

def keyword

def keyword
  options.fetch(:keyword) { self.class.keyword }
end

def name_statement

def name_statement
  "#{keyword}: #{name}".strip
end

def tag_statement

def tag_statement
  tags
end

def tags

def tags
  options[:tags]
end