Class: Ayadn::SetScroll
Instance Attribute Summary
Attributes inherited from SetBase
#category, #input, #output
Instance Method Summary
collapse
Methods inherited from SetBase
#log, #save
Constructor Details
Returns a new instance of SetScroll.
291
292
293
294
|
# File 'lib/ayadn/set.rb', line 291
def initialize
super
@category = 'scroll'
end
|
Instance Method Details
#timer(t) ⇒ Object
300
301
302
303
304
|
# File 'lib/ayadn/set.rb', line 300
def timer(t)
@input = 'timer'
@output = validate(t)
Settings.options[:scroll][:timer] = @output
end
|
#validate(t) ⇒ Object
296
297
298
|
# File 'lib/ayadn/set.rb', line 296
def validate(t)
Validators.timer(t)
end
|