Sha256: 3d52fbdd52ebad4a0355ff2512026eee79b057fb48dba02424a623cbad16e2b7

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

module Exclaim
  module Implementable
    attr_accessor :json_declaration, :name, :implementation, :config

    def initialize(json_declaration: nil, name: nil, implementation: ->(_config, _env) { nil }, config: {})
      @json_declaration = json_declaration
      @name = name
      @implementation = implementation
      @config = config
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-exclaim-0.1.1 lib/exclaim/implementable.rb
ruby-exclaim-0.1.0 lib/exclaim/implementable.rb
ruby-exclaim-0.0.0 lib/exclaim/implementable.rb