Sha256: 599560d482c9863a63a11a89a57adf2e612b1f3780e37305f519d2db71a6fdc0

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

module Vedeu
  module API
    class Composition < Vedeu::Composition

      # @see Vedeu::API#view
      def view(name, &block)
        attributes[:interfaces] << Interface.build({ name: name }, &block)
      end

      private

      def method_missing(method, *args, &block)
        @self_before_instance_eval.send(method, *args, &block)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.1.17 lib/vedeu/api/composition.rb
vedeu-0.1.16 lib/vedeu/api/composition.rb