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