class Ayadn::SetMarker
Public Class Methods
new()
click to toggle source
Calls superclass method
Ayadn::SetBase::new
# File lib/ayadn/set.rb, line 482 def initialize super @category = 'marker' end
Public Instance Methods
method_missing(meth, options)
click to toggle source
Calls superclass method
# File lib/ayadn/set.rb, line 491 def method_missing(meth, options) @input = meth.to_s @output = validate(options) case @input when 'messages' Settings.options.marker.messages = @output else super end end
validate(value)
click to toggle source
# File lib/ayadn/set.rb, line 487 def validate(value) Validators.boolean(value) end