Sha256: 489f52e720c1a34ef30132d9400ee642a766aa1ef450d04307f7abb404b35aac

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

# Rush mixes in Rush::Commands in order to allow operations on groups of
# Rush::Entry items.  For example, dir['**/*.rb'] returns an array of files, so
# dir['**/*.rb'].destroy would destroy all the files specified.
#
# One cool tidbit: the array can contain entries anywhere, so you can create
# collections of entries from different servers and then operate across them:
#
#   [ box1['/var/log/access.log'] + box2['/var/log/access.log'] ].search /#{url}/
class Array
	include Rush::Commands

	def entries
		self
	end

	include Rush::HeadTail
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rush-0.1 lib/rush/array_ext.rb