Method: Eggshell::BlockHandler#can_handle
- Defined in:
- lib/eggshell/block-handler.rb
#can_handle(line) ⇒ Object
Sets the type based on the line given, and returns one of the following:
-
{RETRY}: doesn’t handle this line;
-
{COLLECT}: will collect lines following normal processing.
-
{COLLECT_RAW}: will collect lines before macro/block checks can take place.
-
{DONE}: line processed, no need to collect more lines.
71 72 73 |
# File 'lib/eggshell/block-handler.rb', line 71 def can_handle(line) RETRY end |