Class: Command::PrintDiff::Target
- Inherits:
-
Struct
- Object
- Struct
- Command::PrintDiff::Target
- Defined in:
- lib/command/shared/print_diff.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#oid ⇒ Object
Returns the value of attribute oid.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
18 19 20 |
# File 'lib/command/shared/print_diff.rb', line 18 def data @data end |
#mode ⇒ Object
Returns the value of attribute mode
18 19 20 |
# File 'lib/command/shared/print_diff.rb', line 18 def mode @mode end |
#oid ⇒ Object
Returns the value of attribute oid
18 19 20 |
# File 'lib/command/shared/print_diff.rb', line 18 def oid @oid end |
#path ⇒ Object
Returns the value of attribute path
18 19 20 |
# File 'lib/command/shared/print_diff.rb', line 18 def path @path end |
Instance Method Details
#diff_path ⇒ Object
19 20 21 |
# File 'lib/command/shared/print_diff.rb', line 19 def diff_path mode ? path : NULL_PATH end |