Class: Nanoc::Core::ContractsSupport::Ignorer

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/nanoc/core/contracts_support.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*_args) ⇒ Object

rubocop:disable Style/MethodMissingSuper



9
10
11
# File 'lib/nanoc/core/contracts_support.rb', line 9

def method_missing(*_args) # rubocop:disable Style/MethodMissingSuper
  self
end

Instance Method Details

#respond_to_missing?(*_args) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/nanoc/core/contracts_support.rb', line 13

def respond_to_missing?(*_args)
  true
end