lib/ayadn/status.rb in ayadn-1.3.0 vs lib/ayadn/status.rb in ayadn-1.3.1
- old
+ new
@@ -245,9 +245,12 @@
"\nPlease wait while Ayadn is pruning and compacting the #{db} database...\n".color(:cyan)
end
def self.cache_range
"\nPlease enter a number of hours between 1 and 168.\n\n".color(:red)
end
+ def self.threshold
+ "\nPlease enter a value between 0.1 and 3.5, example: 2.1\n\n".color(:red)
+ end
def self.must_be_in_index
"\nNumber must be in the range of the indexed posts.\n".color(:red)
end
def self.user_404 username
"\nUser #{username} doesn't exist. It could be a deleted account.\n".color(:red)