class Samovar::Flag
def initialize(text)
def initialize(text) @text = text if text =~ /(.*?)\s(\<.*?\>)/ @prefix = $1 @value = $2 else @prefix = @text end *@alternatives, @prefix = @prefix.split('/') end
def initialize(text) @text = text if text =~ /(.*?)\s(\<.*?\>)/ @prefix = $1 @value = $2 else @prefix = @text end *@alternatives, @prefix = @prefix.split('/') end