class Pione::Lang::StringSequence

Public Instance Methods

textize() click to toggle source
# File lib/pione/lang/string.rb, line 22
def textize
  "(<s>%s)" % pieces.map {|piece| '"%s"' % piece.value}.join("|")
end
value() click to toggle source

Return a string that is joined pieces string.

# File lib/pione/lang/string.rb, line 18
def value
  @__value__ ||= pieces.map{|piece| piece.value}.join
end