Sha256: 67e41341e393ca9c75dfd38c16d15c609e489f5a0c7bdfe5caba3e728431c562

Contents?: true

Size: 675 Bytes

Versions: 13

Compression:

Stored size: 675 Bytes

Contents

module Vedeu

  # Provides a mechanism to help configure and use Vedeu.
  #
  module DSL

    private

    # :nocov:
    # Attempts to find the missing method on the client object.
    #
    # @param method [Symbol] The name of the method sought.
    # @param args [Array] The arguments which the method was to be invoked with.
    # @param block [Proc] The optional block provided to the method.
    # @return [void]
    def method_missing(method, *args, &block)
      Vedeu.log(type:    :debug,
                message: "!!!method_missing '#{method}' (#{client.inspect})")

      client.send(method, *args, &block) if client
    end
    # :nocov:

  end # DSL

end # Vedeu

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vedeu-0.5.5 lib/vedeu/dsl.rb
vedeu-0.5.4 lib/vedeu/dsl.rb
vedeu-0.5.3 lib/vedeu/dsl.rb
vedeu-0.5.2 lib/vedeu/dsl.rb
vedeu-0.5.1 lib/vedeu/dsl.rb
vedeu-0.5.0 lib/vedeu/dsl.rb
vedeu-0.4.65 lib/vedeu/dsl.rb
vedeu-0.4.64 lib/vedeu/dsl.rb
vedeu-0.4.63 lib/vedeu/dsl.rb
vedeu-0.4.62 lib/vedeu/dsl.rb
vedeu-0.4.61 lib/vedeu/dsl.rb
vedeu-0.4.60 lib/vedeu/dsl.rb
vedeu-0.4.59 lib/vedeu/dsl.rb