Fix grammar

..and bots
This commit is contained in:
g0tmi1k
2018-05-15 11:17:03 +01:00
parent cf2881fda6
commit a783b53107
3 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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