Class: Slimi::Filters::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/slimi/filters/text.rb

Overview

Handle ‘[:slimi, :text, multi]`.

Instance Method Summary collapse

Methods inherited from Base

#on_slimi_control, #on_slimi_embedded, #on_slimi_output, #on_slimi_position

Instance Method Details

#on_slimi_text(_type, multi) ⇒ Array

Parameters:

  • _type (Symbol)
  • multi (Array)

Returns:

  • (Array)


10
11
12
# File 'lib/slimi/filters/text.rb', line 10

def on_slimi_text(_type, multi)
  compile(multi)
end