Sha256: bf10c9609173cad93d8a0b577c30f9b1a69ddded9b65a88649db10121ae77e65

Contents?: true

Size: 354 Bytes

Versions: 4

Compression:

Stored size: 354 Bytes

Contents

require 'fortitude/errors'

module Fortitude
  module Tags
    TAG_RETURN_VALUE_SUPERCLASS = if defined?(::BasicObject) then ::BasicObject else ::Object end

    class TagReturnValue < TAG_RETURN_VALUE_SUPERCLASS
      def method_missing(name, *args)
        ::Kernel.raise ::Fortitude::Errors::NoReturnValueFromTag.new(name)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fortitude-0.0.4-java lib/fortitude/tags/tag_return_value.rb
fortitude-0.0.4 lib/fortitude/tags/tag_return_value.rb
fortitude-0.0.3 lib/fortitude/tags/tag_return_value.rb
fortitude-0.0.2 lib/fortitude/tags/tag_return_value.rb