Sha256: 39e1eadd0778bdce08a7d80815f6caa6519b6f88d29132c9b1cb54fd98447fc9

Contents?: true

Size: 463 Bytes

Versions: 2

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

require 'prolog/dry_types'

module ArticleFixtureGen
  module Exe
    module Trollop
      # Individual item hash for Trollop data. This can't be frozen per Trollop.
      class OptionSpecItem < Dry::Struct
        attribute :key, Types::Strict::Symbol
        attribute :desc, Types::Strict::String
        attribute :options, Types::Strict::Hash
      end # class ArticleFixtureGen::Exe::Trollop::OptionSpecItem
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
article_fixture_gen-0.1.2 lib/article_fixture_gen/exe/option_parser/trollop/option_spec_item.rb
article_fixture_gen-0.1.1 lib/article_fixture_gen/exe/option_parser/trollop/option_spec_item.rb