class Ayadn::PreferencesBlacklist

Attributes

active[RW]

Public Class Methods

new(hash) click to toggle source
# File lib/ayadn/preferences_object.rb, line 216
def initialize hash
  @active = hash[:active]
end

Public Instance Methods

to_h() click to toggle source
# File lib/ayadn/preferences_object.rb, line 219
def to_h
  { active: @active }
end