Sha256: bef1e9be7e8daa9b9042a95c85c6a921ff9f8f69a475bfd14cbae6d6f1dc6963

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

require 'vedeu/support/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

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.4.54 lib/vedeu/dsl/all.rb
vedeu-0.4.53 lib/vedeu/dsl/all.rb