Sha256: ba651719538dbf0ee0723778f0e1466e6379a29e3c4a6606c3cb9d7a5338d819

Contents?: true

Size: 501 Bytes

Versions: 14

Compression:

Stored size: 501 Bytes

Contents

module Nucleon
module Test
class Second < Nucleon.plugin_class(:nucleon, :test)

  #*****************************************************************************
  # Plugin test interface

  def say_hello(to_who)
    super do
      info("Greetings #{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 = -20
      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

Version Path
nucleon-0.2.16 spec/nucleon/test/second.rb
nucleon-0.2.15 spec/nucleon/test/second.rb
nucleon-0.2.14 spec/nucleon/test/second.rb
nucleon-0.2.13 spec/nucleon/test/second.rb
nucleon-0.2.12 spec/nucleon/test/second.rb
nucleon-0.2.11 spec/nucleon/test/second.rb
nucleon-0.2.10 spec/nucleon/test/second.rb
nucleon-0.2.9 spec/nucleon/test/second.rb
nucleon-0.2.8 spec/nucleon/test/second.rb
nucleon-0.2.7 spec/nucleon/test/second.rb
nucleon-0.2.6 spec/nucleon/test/second.rb
nucleon-0.2.5 spec/nucleon/test/second.rb
nucleon-0.2.4 spec/nucleon/test/second.rb
nucleon-0.2.3 spec/nucleon/test/second.rb