module DeepCover::Config::AttributeAccessors

Public Class Methods

define_accessor(attr) click to toggle source
# File lib/deep_cover/config.rb, line 60
def self.define_accessor(attr)
  define_method(attr) do |arg = NOT_SPECIFIED|
    return @options[attr] if arg == NOT_SPECIFIED

    change(attr, arg)
  end
end