Method: Livetext::ParseSet#unquoted_value
- Defined in:
- lib/livetext/parser/set.rb
#unquoted_value ⇒ Object
118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/livetext/parser/set.rb', line 118 def unquoted_value value = "" char = nil loop do char = peek break if char.nil? break if eos? break if char == " " || char == "," value << char char = grab end value end |