class SlackTransformer::Html
Constants
- TRANSFORMERS
Attributes
input[R]
Public Class Methods
new(input)
click to toggle source
# File lib/slack_transformer/html.rb, line 21 def initialize(input) @input = input end
Public Instance Methods
to_slack()
click to toggle source
# File lib/slack_transformer/html.rb, line 25 def to_slack TRANSFORMERS.reduce(input) do |html, transformer| transformer.new(html).to_slack end end