Sha256: f951649cafe73752fe13f3f9eff7f24a29cd11ba60d72c126ac19d767d7c2ee2
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 Bytes
Contents
module Slacken require 'slacken/document_component' require 'slacken/dom_container' require 'slacken/render_element' require 'slacken/rendering' require 'slacken/node_type' require 'slacken/slack_url' require 'slacken/table_element' require 'slacken/version' class << self def translate(html_source) convert(html_source).to_s end def convert(html_source) Slacken::DomContainer.parse_html(html_source) .to_component.to_element end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slacken-0.1.1 | lib/slacken.rb |
slacken-0.1.0 | lib/slacken.rb |