Sha256: 313b23fc85fd97576bdd1fc068addd02dcbe92d8cb58c9846f40bea90500cff8

Contents?: true

Size: 802 Bytes

Versions: 5

Compression:

Stored size: 802 Bytes

Contents

require 'vedeu/dsl/components/all'
require 'vedeu/dsl/shared/all'

require 'vedeu/dsl/composition'
require 'vedeu/dsl/interface'
require 'vedeu/dsl/line'
require 'vedeu/dsl/stream'
require 'vedeu/dsl/view'

module Vedeu

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

    # 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.send(method, *args, &block) if client
    end

  end # DSL

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.4.3 lib/vedeu/dsl/all.rb
vedeu-0.4.2 lib/vedeu/dsl/all.rb
vedeu-0.4.1 lib/vedeu/dsl/all.rb
vedeu-0.4.0 lib/vedeu/dsl/all.rb
vedeu-0.3.5 lib/vedeu/dsl/all.rb