Class: BoringBuilder::Artifact::Entry
- Inherits:
-
Data
- Object
- Data
- BoringBuilder::Artifact::Entry
- Defined in:
- lib/boringbuilder/artifact.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
readonly
Returns the value of attribute destination.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#origin ⇒ Object
readonly
Returns the value of attribute origin.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#destination ⇒ Object (readonly)
Returns the value of attribute destination
7 8 9 |
# File 'lib/boringbuilder/artifact.rb', line 7 def destination @destination end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
7 8 9 |
# File 'lib/boringbuilder/artifact.rb', line 7 def kind @kind end |
#origin ⇒ Object (readonly)
Returns the value of attribute origin
7 8 9 |
# File 'lib/boringbuilder/artifact.rb', line 7 def origin @origin end |
#source ⇒ Object (readonly)
Returns the value of attribute source
7 8 9 |
# File 'lib/boringbuilder/artifact.rb', line 7 def source @source end |
Instance Method Details
#to_h ⇒ Object
8 9 10 |
# File 'lib/boringbuilder/artifact.rb', line 8 def to_h { origin: origin, kind: kind, source: source.to_s, destination: destination } end |