Class: Alchemy::Ingredients::HtmlView

Inherits:
BaseView
  • Object
show all
Defined in:
app/components/alchemy/ingredients/html_view.rb

Instance Attribute Summary

Attributes inherited from BaseView

#html_options, #ingredient

Instance Method Summary collapse

Methods inherited from BaseView

#initialize, #render?

Constructor Details

This class inherits a constructor from Alchemy::Ingredients::BaseView

Instance Method Details

#callObject



4
5
6
# File 'app/components/alchemy/ingredients/html_view.rb', line 4

def call
  value.to_s.html_safe
end