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



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

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)


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

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)


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

def respond_to_missing?(method_name, include_private = false)
  logger.send(:respond_to_missing?, method_name, include_private)
end