Sha256: d4339cf8e263e198ac841952852bb5718c93b6e53e4b0e7aad029ef251673947

Contents?: true

Size: 139 Bytes

Versions: 8

Compression:

Stored size: 139 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ernie'

mod(:calc) do
  fun(:add) do |a, b|
    a + b
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mojombo-ernie-0.2.0 examples/calc.rb
mojombo-ernie-0.3.0 examples/calc.rb
mojombo-ernie-0.3.1 examples/calc.rb
mojombo-ernie-0.3.2 examples/calc.rb
mojombo-ernie-0.3.3 examples/calc.rb
ernie-0.3.3 examples/calc.rb
ernie-0.3.2 examples/calc.rb
ernie-0.3.1 examples/calc.rb