Class: String
Instance Method Summary collapse
Instance Method Details
#to_ron_list(session) ⇒ Object
165 166 167 168 169 170 171 |
# File 'lib/ron.rb', line 165 def to_ron_list session result= [ "'", gsub(/['\\]/){ '\\'+$&}, "'" ] if self.class!=String result=[self.class.name, ".new(", result, ")"] end result end |