Class: Hydra::Derivatives::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/hydra/derivatives/logger.rb

Class Method Summary collapse

Class Method Details

.method_missing(method_name, *arguments, &block) ⇒ Object


4
5
6
7
8
# File 'lib/hydra/derivatives/logger.rb', line 4

def method_missing(method_name, *arguments, &block)
  logger.send(method_name, *arguments, &block)
rescue StandardError
  super
end

.respond_to?(method_name, _include_private = false) ⇒ Boolean

Returns:

  • (Boolean)

10
11
12
# File 'lib/hydra/derivatives/logger.rb', line 10

def respond_to?(method_name, _include_private = false)
  logger.respond_to? method_name
end

.respond_to_missing?(method_name, _include_private = false) ⇒ Boolean

Returns:

  • (Boolean)

14
15
16
# File 'lib/hydra/derivatives/logger.rb', line 14

def respond_to_missing?(method_name, _include_private = false)
  logger.respond_to_missing? method_name
end