class Manifest

Ruby on Rails 2.3.18

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Manifest captures the actions a generator performs. Instantiate a manifest with an optional target object, hammer it with actions, then replay or rewind on the object of your choice.

Example:

manifest = Manifest.new { |m|
  m.make_directory '/foo'
  m.create_file '/foo/bar.txt'
}
manifest.replay(creator)
manifest.rewind(destroyer)

Inherits from

Object

Attributes

Methods (defined here)

Private methods (1)

Show private methods Implementation detail — not part of the public API.

Methods (inherited)

From Object (37)
From Benchmark (2)

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close