Class: ExtractI18n::Adapters::SlimAdapterWip
- Defined in:
- lib/extract_i18n/adapters/slim_adapter_wip.rb
Instance Attribute Summary
Attributes inherited from Adapter
#file_key, #file_path, #on_ask, #options
Instance Method Summary collapse
Methods inherited from Adapter
for, #initialize, supports_relative_keys?
Constructor Details
This class inherits a constructor from ExtractI18n::Adapters::Adapter
Instance Method Details
#run(original_content) ⇒ Object
7 8 9 10 |
# File 'lib/extract_i18n/adapters/slim_adapter_wip.rb', line 7 def run(original_content) parser = SlimRewriterParser.new(file_key: file_key, on_ask: on_ask) parser.call(original_content) end |