Sha256: 112ee6b6658aac6e1040c8e8135e90000c24cf4cf9a680d16c8be3ee7eb91c42
Contents?: true
Size: 263 Bytes
Versions: 2
Compression:
Stored size: 263 Bytes
Contents
# encoding: UTF-8 module Spontaneous module Extensions module Array def render(*args) self.map { |e| e.respond_to?(:render) ? e.render(*args) : e }.join end end end end class Array include Spontaneous::Extensions::Array end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spontaneous-0.2.0.alpha2 | lib/spontaneous/extensions/array.rb |
spontaneous-0.2.0.alpha1 | lib/spontaneous/extensions/array.rb |