Sha256: b67ad40616c5250146a2fc106ef70ed501b05760b4a8ea978680abf5ba81d058
Contents?: true
Size: 337 Bytes
Versions: 10
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true module Pragmater # Provides context for runner. Context = Struct.new :action, :root_dir, :comments, :includes, keyword_init: true do def initialize *arguments super self[:root_dir] ||= "." self[:comments] = Array comments self[:includes] = Array includes end end end
Version data entries
10 entries across 10 versions & 1 rubygems