File tree 2 files changed +23
-14
lines changed
2 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 1
- h1 {
2
- align-items : center;
3
- justify-content : center;
4
- text-emphasis : none;
5
- }
1
+ .h2 ,
2
+ h2 {
3
+ font-weight : 700 ;
4
+ font-size : 38px ;
5
+ padding : 10px 0 10px 0
6
+ font-style: normal;
7
+ font-stretch : normal;
8
+ line-height : normal;
9
+ letter-spacing : normal;
10
+ color # 6f23ff;
11
+ text- align: center;
12
+ }
Original file line number Diff line number Diff line change 2
2
3
3
module Bot
4
4
def self . chek1 ( str )
5
- if str . match ( /.+\s {1}+{/ )
6
- puts "There should be a new line after '{' on line #{ $i} " unless str . match ( /.+\s {1}+$/ )
5
+ if str . match ( /.+{/ )
6
+ puts "there should be a new line after '{' on line #{ $i} " unless str . match ( /.+{$/ )
7
+ puts "there should be a white space before '{' on line #{ $i} " unless str . match ( /.+\s {1}+{/ )
7
8
end
8
9
end
9
10
10
11
def self . chek2 ( str )
11
- if str . match ( /\s +[a-z]+.+\s +[a-z]+./ )
12
- puts "There should not be any capital letter on line #{ $i} " if str . match ( /[A-Z]/ )
13
- puts "the value should be asigned with ':' on line #{ $i} " unless str . match ( /[a-z]+.+:+\s +[a-z]+.$/ )
14
- puts "the line shoud end with a ';' on line #{ $i} " unless str . match ( /[a-z]+.+.+\s +[a-z]+;$/ )
15
- puts "there hould not be any thing after ';' on line #{ $i} " unless str . match ( /[a-z]+.+:+\s +[a-z]+;\R / )
12
+ if str . match ( /.+[a-z]+.+.+./ )
13
+ puts "there should not be any capital letter on line #{ $i} " if str . match ( /[A-Z]/ )
14
+ puts "the line should start with a white space on line #{ $i} " unless str . match ( /\s {2}+[a-z]+.+.+./ )
15
+ puts "the value should be asigned with ':' on line #{ $i} " unless str . match ( /.+[a-z]+.+:+.+.+./ )
16
+ puts "the line shoud end with a ';' on line #{ $i} " unless str . match ( /[a-z]+.+.+\s +.+;$/ )
17
+ puts "there should be a new line after ';' on line #{ $i} " unless str . match ( /[a-z]+.+:+\s +.+;\R / )
16
18
end
17
19
end
18
20
19
21
def self . chek3 ( str )
20
22
if str . match ( /}/ )
21
- puts "There should not be anything before '}' on line #{ $i} " unless str . match ( /^}/ )
22
- puts "There should be a new line after '}' on line #{ $i} " unless str . match ( /^}\R $/ )
23
+ puts "there should not be anything before '}' on line #{ $i} " unless str . match ( /^}/ )
24
+ puts "there should be a new line after '}' on line #{ $i} " unless str . match ( /^}\R $/ )
23
25
end
24
26
end
25
27
You can’t perform that action at this time.
0 commit comments