Class: Toys::SourceInfo::Origin::Block
- Defined in:
- lib/toys/source_info/origin.rb
Overview
The origin of a source that is a block of code passed directly to a CLI, and so came from nowhere on the file system.
A block origin never describes a source, because a source with this
origin always has a Toys::SourceInfo#source_type of :proc, which
takes its name from the block itself.