Class: Pray::PackageFormatHint

Inherits:
Struct
  • Object
show all
Defined in:
lib/pray/format_manifest.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(roles: [], file_path: nil, exports: []) ⇒ PackageFormatHint

Returns a new instance of PackageFormatHint.



5
6
7
# File 'lib/pray/format_manifest.rb', line 5

def initialize(roles: [], file_path: nil, exports: [])
  super
end

Instance Attribute Details

#exportsObject

Returns the value of attribute exports

Returns:

  • (Object)

    the current value of exports



4
5
6
# File 'lib/pray/format_manifest.rb', line 4

def exports
  @exports
end

#file_pathObject

Returns the value of attribute file_path

Returns:

  • (Object)

    the current value of file_path



4
5
6
# File 'lib/pray/format_manifest.rb', line 4

def file_path
  @file_path
end

#rolesObject

Returns the value of attribute roles

Returns:

  • (Object)

    the current value of roles



4
5
6
# File 'lib/pray/format_manifest.rb', line 4

def roles
  @roles
end