123456789_123456789_123456789_123456789_123456789_

Class: Reline::KillRing::RingPoint

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/reline/kill_ring.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(str) ⇒ RingPoint

[ GitHub ]

  
# File 'lib/reline/kill_ring.rb', line 12

def initialize(str)
  super(nil, nil, str)
end

Instance Attribute Details

#backward (rw)

[ GitHub ]

  
# File 'lib/reline/kill_ring.rb', line 11

RingPoint = Struct.new(:backward, :forward, :str)

#forward (rw)

[ GitHub ]

  
# File 'lib/reline/kill_ring.rb', line 11

RingPoint = Struct.new(:backward, :forward, :str)

#str (rw)

[ GitHub ]

  
# File 'lib/reline/kill_ring.rb', line 11

RingPoint = Struct.new(:backward, :forward, :str)

Instance Method Details

#==(other)

[ GitHub ]

  
# File 'lib/reline/kill_ring.rb', line 16

def ==(other)
  object_id == other.object_id
end