Class: Packwerk::FolderPrivacy::Package

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/packwerk/folder_privacy/package.rb

Class Method Summary collapse

Class Method Details

.from(package) ⇒ Object



15
16
17
18
19
# File 'lib/packwerk/folder_privacy/package.rb', line 15

def from(package)
  Package.new(
    enforce_folder_privacy: package.config['enforce_folder_privacy']
  )
end