Sha256: 8a1f31399feeec01384e0430bb7f5e1cd6e2b49cfc434cec143a368be3232a4d

Contents?: true

Size: 256 Bytes

Versions: 151

Compression:

Stored size: 256 Bytes

Contents

module RubyApp

  module Mixins

    module DelegateMixin

      def exists?
        return self.get != nil
      end

      def method_missing(name, *arguments, &block)
        return self.get.send(name, *arguments, &block)
      end

    end

  end

end

Version data entries

151 entries across 151 versions & 1 rubygems

Version Path
RubyApp-0.5.11 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.5.10 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.5.9 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.5.0 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.2.8 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.2.7 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.2.6 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.2.5 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.2.4 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.2.3 lib/ruby_app/mixins/delegate_mixin.rb
RubyApp-0.2.2 lib/ruby_app/mixins/delegate_mixin.rb