Module: Speedflow::Plugin::Test

Defined in:
lib/speedflow/plugin/test.rb,
lib/speedflow/plugin/test/version.rb

Overview

Speedflow test plugin

Constant Summary collapse

VERSION =
'0.1.10'.freeze

Class Method Summary collapse

Class Method Details

.method_missing(*args) ⇒ Object

Public: Method missign

Method used to catch others methods to test.

*args - Some arguments :)

Returns arguments.



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/speedflow/plugin/test.rb', line 16

def method_missing(*args)
  action = args.first
  arguments = args.last

  if action.to_s == 'no_action'
    raise NoMethodError
  end

  puts "Load: #{action} with args: #{arguments}"

  arguments
end