Sha256: 8fd50792e5afd2f71c2cfca130d0ec6075e4e9cca5d23591536327710a4a63b7

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

require 'vedeu/common'

require 'vedeu/dsl/use'
require 'vedeu/dsl/presentation'
require 'vedeu/dsl/border'
require 'vedeu/dsl/composition'
require 'vedeu/dsl/geometry'
require 'vedeu/dsl/group'
require 'vedeu/dsl/keymap'
require 'vedeu/dsl/text'
require 'vedeu/dsl/interface'
require 'vedeu/dsl/line'
require 'vedeu/dsl/menu'
require 'vedeu/dsl/stream'
require 'vedeu/dsl/view'

module Vedeu

  # Provides a mechanism to help configure and use Vedeu.
  #
  # @api public
  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

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.4.57 lib/vedeu/dsl/all.rb
vedeu-0.4.56 lib/vedeu/dsl/all.rb
vedeu-0.4.55 lib/vedeu/dsl/all.rb