Module: EvilEvents::Plugins::OjEngine Private

Defined in:
lib/evil_events/plugins/oj_engine.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.5.0

Class Method Summary collapse

Class Method Details

.load!void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Since:

  • 0.5.0



12
13
14
15
# File 'lib/evil_events/plugins/oj_engine.rb', line 12

def load!
  load_dependencies!
  load_code!
end

.load_code!void (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Since:

  • 0.5.0



31
32
33
# File 'lib/evil_events/plugins/oj_engine.rb', line 31

def load_code!
  require_relative 'oj_engine/oj'
end

.load_dependencies!void (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Since:

  • 0.5.0



23
24
25
# File 'lib/evil_events/plugins/oj_engine.rb', line 23

def load_dependencies!
  require 'oj'
end