Sha256: 9c5ecea1b64dbf0cb25c37e0fe46e3bceaa9da40ea8b53501685041f90cedf5e

Contents?: true

Size: 274 Bytes

Versions: 6

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

module Capistrano
  module DataPlaneApi
    class Configuration < Type
      class Symbol < ::Shale::Type::String
        class << self
          def cast(value)
            value&.to_sym
          end
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
capistrano-data_plane_api-0.1.5 lib/capistrano/data_plane_api/configuration/symbol.rb
capistrano-data_plane_api-0.1.4 lib/capistrano/data_plane_api/configuration/symbol.rb
capistrano-data_plane_api-0.1.3 lib/capistrano/data_plane_api/configuration/symbol.rb
capistrano-data_plane_api-0.1.2 lib/capistrano/data_plane_api/configuration/symbol.rb
capistrano-data_plane_api-0.1.1 lib/capistrano/data_plane_api/configuration/symbol.rb
capistrano-data_plane_api-0.1.0 lib/capistrano/data_plane_api/configuration/symbol.rb