class Ayadn::SetNiceRank
Public Class Methods
new()
click to toggle source
Calls superclass method
Ayadn::SetBase::new
# File lib/ayadn/set.rb, line 423 def initialize super @category = 'nicerank' end
Public Instance Methods
active(value)
click to toggle source
# File lib/ayadn/set.rb, line 434 def active value filter(value) end
filter(value)
click to toggle source
# File lib/ayadn/set.rb, line 428 def filter value @input = 'filter' @output = Validators.boolean(value) Settings.options.nicerank.filter = @output end
threshold(value)
click to toggle source
# File lib/ayadn/set.rb, line 444 def threshold value @input = 'threshold' @output = Validators.threshold(value) Settings.options.nicerank.threshold = @output end
unranked(value)
click to toggle source
# File lib/ayadn/set.rb, line 438 def unranked value @input = 'unranked' @output = Validators.boolean(value) Settings.options.nicerank.unranked = @output end