Sha256: 1e55d906923260b92c326f77db0ece5f1f55cef6f6914689aa4307e3848f7682

Contents?: true

Size: 448 Bytes

Versions: 22

Compression:

Stored size: 448 Bytes

Contents

module Plezi

	module_function

	# Defers any missing methods to the Iodine Library.
	def method_missing name, *args, &block
		return super unless REACTOR_METHODS.include? name
		::Iodine.__send__ name, *args, &block
	end
	# Defers any missing methods to the Iodine Library.
	def respond_to_missing?(name, include_private = false)
		REACTOR_METHODS.include?(name) || super
	end

	protected

	REACTOR_METHODS = ::Iodine.public_methods(false)

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
plezi-0.12.22 lib/plezi/common/defer.rb
plezi-0.12.21 lib/plezi/common/defer.rb
plezi-0.12.20 lib/plezi/common/defer.rb
plezi-0.12.19 lib/plezi/common/defer.rb
plezi-0.12.18 lib/plezi/common/defer.rb
plezi-0.12.17 lib/plezi/common/defer.rb
plezi-0.12.16 lib/plezi/common/defer.rb
plezi-0.12.15 lib/plezi/common/defer.rb
plezi-0.12.14 lib/plezi/common/defer.rb
plezi-0.12.13 lib/plezi/common/defer.rb
plezi-0.12.11 lib/plezi/common/defer.rb
plezi-0.12.10 lib/plezi/common/defer.rb
plezi-0.12.9 lib/plezi/common/defer.rb
plezi-0.12.8 lib/plezi/common/defer.rb
plezi-0.12.7 lib/plezi/common/defer.rb
plezi-0.12.6 lib/plezi/common/defer.rb
plezi-0.12.5 lib/plezi/common/defer.rb
plezi-0.12.4 lib/plezi/common/defer.rb
plezi-0.12.3 lib/plezi/common/defer.rb
plezi-0.12.2 lib/plezi/common/defer.rb