Sha256: 0925adb742fd6e3d9c2245d4126d18c439170efa8469ae9ef8d9bae166833929

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

require_relative "hello_world_hn/version"

module HelloWorldHn
  def self.hello()
    return "Hello world"
  end
  
  def self.sum(x, y)
    x + y
  end

  def self.sub(x, y)
    x - y
  end

  def self.mul(x, y)
    x * y
  end

  def self.div(x, y)
    x / y
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hello_world_hn-1.0.0.pre.beta.3 lib/hello_world_hn.rb
hello_world_hn-0.0.1.pre.beta.2 lib/hello_world_hn.rb
hello_world_hn-0.0.1.pre.beta.1 lib/hello_world_hn.rb