Sha256: bd2669e14e56f8bda7d77d15704f2f6f60e2e22bf957892ee05060674d381bc3
Contents?: true
Size: 546 Bytes
Versions: 6
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true require 'shale' require_relative 'diggable' require_relative 'equatable' module Capistrano module DataPlaneApi class Type < ::Shale::Mapper include Diggable include Equatable alias to_h to_hash # @param key [Symbol, String] # @return [Object, nil] def [](key) public_send(key) if respond_to?(key) end # @param key [Symbol, String] # @param val [Object] def []=(key, val) public_send(:"#{key}=", val) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems