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
3923 3924 3925 |
# File 'lib/xberg/native.rb', line 3923 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
3940 3941 3942 |
# File 'lib/xberg/native.rb', line 3940 def self.from_hash(hash) new(value: hash[:_0] || hash["_0"]) end |
Instance Method Details
#added? ⇒ Boolean
3934 |
# File 'lib/xberg/native.rb', line 3934 def added? = false |
#context? ⇒ Boolean
3932 |
# File 'lib/xberg/native.rb', line 3932 def context? = false |
#removed? ⇒ Boolean
3936 3937 3938 |
# File 'lib/xberg/native.rb', line 3936 def removed? = true # @param hash [Hash] deserialized from the native extension # @return [self] |