# frozen_string_literal: true # JS to ruby example & ruby to js example def my_ruby_meth(val) alert "kool from rb_meth: #{val}" end opal_js_code=<