Sha256: 5732fe77438825090fb4e0dbfba82fec05b764af2c14124a7a7575c02a823152
Contents?: true
Size: 501 Bytes
Versions: 14
Compression:
Stored size: 501 Bytes
Contents
module Nucleon module Test class First < Nucleon.plugin_class(:nucleon, :test) #***************************************************************************** # Plugin test interface def say_hello(to_who) super do info("Hello there #{to_who}", { :i18n => false }) end end def math(a, b) super do a * b * test1 * test2 end end def exec_block(a, b, &code) super do z = -1 z = code.call(test1, test2, a, b, z) if code end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems