Class: Array

Inherits:
Object show all
Defined in:
lib/goat/dom.rb,
lib/goat/extn.rb

Instance Method Summary collapse

Instance Method Details

#glimpse(n = 100) ⇒ Object



105
106
107
# File 'lib/goat/extn.rb', line 105

def glimpse(n=100)
  "[" + self.map{|x| x.glimpse(n)}.join(', ') + "]"
end

#to_html(builder) ⇒ Object



230
231
232
# File 'lib/goat/dom.rb', line 230

def to_html(builder)
  builder.array_to_html(self)
end