Class: Array
Instance Method Summary collapse
Instance Method Details
#to_ron_list(session) ⇒ Object
185 186 187 188 189 190 191 192 193 |
# File 'lib/ron.rb', line 185 def to_ron_list session result=["["] + map{|i| i.to_ron_list2(session)<<', ' }.flatten<< "]" result.unshift self.class.name unless self.class==Array result end |