Class: PrelandsRails::UpdateSimpleSource::Compile
- Inherits:
-
Object
- Object
- PrelandsRails::UpdateSimpleSource::Compile
- Includes:
- Interactor, Interactor::Contracts, AbstractInteractor
- Defined in:
- lib/prelands_rails/update_simple_source/compile.rb
Instance Method Summary collapse
Methods included from AbstractInteractor
Instance Method Details
#act ⇒ Object
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/prelands_rails/update_simple_source/compile.rb', line 24 def act if context.files_content result = ::PrelandsRails::CreateSimpleSource::Compile.call context if result.success? context.compiled_htmls = result.compiled_htmls else fail!(errors: result.errors) end end end |