lib/powerstar.rb in powerstar-0.1.7 vs lib/powerstar.rb in powerstar-0.1.8

- old
+ new

@@ -1,21 +1,22 @@ # frozen_string_literal: true require_relative "powerstar/version" module Powerstar - class Error < StandardError; end + # class Error < StandardError; end # Your code goes here... - def self.root(a,b) - return a*b - end + # module User < ApplicationRecord # # validates :name,presence:true # def self.ganesh # puts "ganesh method is executing" # end # end class Ganesh def self.ganesh puts "ganesh" end + def self.root(a,b) + return a*b + end end end