class Axe::API::Options

Public Class Methods

new() click to toggle source
# File lib/axe/api/options.rb, line 12
def initialize
  @rules = Rules.new
  @custom = {}
end

Public Instance Methods

empty?() click to toggle source
# File lib/axe/api/options.rb, line 25
def empty?
  to_hash.empty?
end
to_hash() click to toggle source
# File lib/axe/api/options.rb, line 17
def to_hash
  @rules.to_hash.merge(@custom)
end
to_json() click to toggle source
# File lib/axe/api/options.rb, line 21
def to_json
  to_hash.to_json
end
Also aliased as: to_s
to_s()
Alias for: to_json