Class: Xberg::DiffLineRemoved
- Inherits:
-
Data
- Object
- Data
- Xberg::DiffLineRemoved
- Extended by:
- T::Sig
- Includes:
- DiffLine
- Defined in:
- lib/xberg/native.rb
Overview
Line removed from the "before" version.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4283 4284 4285 |
# File 'lib/xberg/native.rb', line 4283 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
4300 4301 4302 |
# File 'lib/xberg/native.rb', line 4300 def self.from_hash(hash) new(value: hash[:_0] || hash["_0"]) end |
Instance Method Details
#added? ⇒ Boolean
4294 |
# File 'lib/xberg/native.rb', line 4294 def added? = false |
#context? ⇒ Boolean
4292 |
# File 'lib/xberg/native.rb', line 4292 def context? = false |
#removed? ⇒ Boolean
4296 4297 4298 |
# File 'lib/xberg/native.rb', line 4296 def removed? = true # @param hash [Hash] deserialized from the native extension # @return [self] |