Sha256: 7744e849e5b9f8e290e582e5b052ac0aba8e6776801045039ce91236dc2ceb2a

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require "colify/version"

module Colify
  class Calculate
   def initialize(a,b)
      @cust_a=a
      @cust_b=b
      @cust_c=a + b
       @cust_z=a - b
        @cust_t=a * b
         @cust_k=a / b
   end
   def add
      puts "#@cust_c"
      
    end
     def sub
      puts "#@cust_z"
      
    end
     def mul
      puts "#@cust_t"
      
    end
     def div
      puts "#@cust_k"
      
    end
end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
colify-0.1.0 lib/colify.rb