Class: Bootprint::Diff::Change
- Inherits:
-
Struct
- Object
- Struct
- Bootprint::Diff::Change
- Defined in:
- lib/bootprint/diff.rb
Instance Attribute Summary collapse
-
#local ⇒ Object
Returns the value of attribute local.
-
#path ⇒ Object
Returns the value of attribute path.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
Instance Attribute Details
#local ⇒ Object
Returns the value of attribute local
5 6 7 |
# File 'lib/bootprint/diff.rb', line 5 def local @local end |
#path ⇒ Object
Returns the value of attribute path
5 6 7 |
# File 'lib/bootprint/diff.rb', line 5 def path @path end |
#target ⇒ Object
Returns the value of attribute target
5 6 7 |
# File 'lib/bootprint/diff.rb', line 5 def target @target end |
Instance Method Details
#to_h ⇒ Object
6 7 8 |
# File 'lib/bootprint/diff.rb', line 6 def to_h { "path" => path, "local" => local, "target" => target } end |