Class: Backup::Logger::Config::Logger

Inherits:
Struct
  • Object
show all
Defined in:
lib/backup/logger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#classObject

Returns the value of attribute class

Returns:

  • (Object)

    the current value of class



12
13
14
# File 'lib/backup/logger.rb', line 12

def class
  @class
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



12
13
14
# File 'lib/backup/logger.rb', line 12

def options
  @options
end

Instance Method Details

#enabled?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/backup/logger.rb', line 13

def enabled?
  options.enabled?
end