rubyx-debugger/config/initializers/boot.rb

10 lines
366 B
Ruby
Raw Normal View History

2015-07-29 16:13:04 +02:00
# Place any code you want to run when the component is included on the client
# or server.
# To include code only on the client use:
# if RUBY_PLATFORM == 'opal'
#
# To include code only on the server, use:
# unless RUBY_PLATFORM == 'opal'
# ^^ this will not send compile in code in the conditional to the client.
# ^^ this include code required in the conditional.