Class: Pray::PackageExport

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kind: "fragment", path: "", summary: nil, only: [], except: [], default_path: nil) ⇒ PackageExport

Returns a new instance of PackageExport.



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

def initialize(kind: "fragment", path: "", summary: nil, only: [], except: [], default_path: nil)
  super
end

Instance Attribute Details

#default_pathObject

Returns the value of attribute default_path

Returns:

  • (Object)

    the current value of default_path



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

def default_path
  @default_path
end

#exceptObject

Returns the value of attribute except

Returns:

  • (Object)

    the current value of except



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

def except
  @except
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



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

def kind
  @kind
end

#onlyObject

Returns the value of attribute only

Returns:

  • (Object)

    the current value of only



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

def only
  @only
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



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

def path
  @path
end

#summaryObject

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



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

def summary
  @summary
end