Fix grammar
..and bots
This commit is contained in:
@@ -336,5 +336,5 @@ end
|
|||||||
|
|
||||||
# Check to see if we need a "s"
|
# Check to see if we need a "s"
|
||||||
def grammar_s(size)
|
def grammar_s(size)
|
||||||
size.to_i >= 1 ? "s" : ""
|
size.to_i >= 2 ? "s" : ""
|
||||||
end
|
end
|
||||||
@@ -80,9 +80,7 @@ class WpTarget < WebSite
|
|||||||
table = Terminal::Table.new(headings: ['ID', 'Name', 'URL'],
|
table = Terminal::Table.new(headings: ['ID', 'Name', 'URL'],
|
||||||
rows: users)
|
rows: users)
|
||||||
puts table
|
puts table
|
||||||
return true
|
|
||||||
end
|
end
|
||||||
return false
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -62,9 +62,7 @@ class WpTarget < WebSite
|
|||||||
table = Terminal::Table.new(headings: ['Name'],
|
table = Terminal::Table.new(headings: ['Name'],
|
||||||
rows: users)
|
rows: users)
|
||||||
puts table
|
puts table
|
||||||
return true
|
|
||||||
end
|
end
|
||||||
return false
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user