Module: RiotJs::Rails::Helper
- Defined in:
- lib/riot_js/rails/helper.rb
Instance Method Summary collapse
Instance Method Details
#riot_component(*args, &block) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/riot_js/rails/helper.rb', line 5 def riot_component(*args, &block) if args[1].kind_of?(Hash) custom_tag_riot_component(*args, &block) else html_tag_riot_component(*args, &block) end end |