rubyx-debugger/app/main/config/initializers/boot.rb

10 lines
366 B
Ruby
Raw Normal View History

2015-07-06 13:20:21 +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.