Sha256: 0842ce14bb14a0a988bde66ee654f9860bd122bab98d9f7623b9ead201156703
Contents?: true
Size: 434 Bytes
Versions: 15
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true require 'sinclair' module Azeroth # @api private # @author Darthjee # # Decorator that calls #as_json on object class DummyDecorator delegate :as_json, to: :@object # @method as_json # @api public # # Returns object.as_json # # @return [Hash] # @param object [Object] object to be decorated def initialize(object) @object = object end end end
Version data entries
15 entries across 15 versions & 1 rubygems