powerstar 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/powerstar/version.rb +1 -1
- data/lib/powerstar.rb +8 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 858ebedbdcd34283722d0b0d1178ae19c37a8dfaeb8e782a927734b7cab8c582
|
4
|
+
data.tar.gz: 71c4fc9f30f51354f799108146e4647c7f5189bdd00c019152599fcb75836f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50362eb0787e56650dc6300d045f1c2c843e62f986bcc0e6282720af30c99f0de28adcdcc933684e30e4f7c0f4ae69a635d66c15b14f0ac9f2554ab0ac20747
|
7
|
+
data.tar.gz: deab02ebbf4aaf5738e7b1b7629733fefe82f684c41286b6796351b15b3db25ee1a3be3ccae214ccc0501801a574418dce8db7362153f6ff9ea49d43ba3f8bc3
|
data/lib/powerstar/version.rb
CHANGED
data/lib/powerstar.rb
CHANGED
@@ -1,17 +1,21 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative "powerstar/version"
|
4
|
-
require_relative "powerstar/common_data/ganesh.rb"
|
5
4
|
module Powerstar
|
6
5
|
class Error < StandardError; end
|
7
6
|
# Your code goes here...
|
8
7
|
def self.root(a,b)
|
9
8
|
return a*b
|
10
9
|
end
|
11
|
-
module User < ApplicationRecord
|
12
|
-
|
10
|
+
# module User < ApplicationRecord
|
11
|
+
# # validates :name,presence:true
|
12
|
+
# def self.ganesh
|
13
|
+
# puts "ganesh method is executing"
|
14
|
+
# end
|
15
|
+
# end
|
16
|
+
class Ganesh
|
13
17
|
def self.ganesh
|
14
|
-
puts "ganesh
|
18
|
+
puts "ganesh"
|
15
19
|
end
|
16
20
|
end
|
17
21
|
end
|