123456789_123456789_123456789_123456789_123456789_

Class: RBS::UnitTest::Convertibles::CustomRange

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BlankSlate
Instance Chain:
self, BlankSlate
Inherits: RBS::UnitTest::Convertibles::BlankSlate
Defined in: lib/rbs/unit_test/convertibles.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(begin_, end_, exclude_end = false) ⇒ CustomRange

[ GitHub ]

  
# File 'lib/rbs/unit_test/convertibles.rb', line 156

def initialize(begin_, end_, exclude_end = false)
  @begin = begin_
  @end = end_
  @exclude_end = exclude_end
end

Instance Attribute Details

#begin (readonly)

[ GitHub ]

  
# File 'lib/rbs/unit_test/convertibles.rb', line 154

attr_reader :begin, :end

#end (readonly)

[ GitHub ]

  
# File 'lib/rbs/unit_test/convertibles.rb', line 154

attr_reader :begin, :end

#exclude_end?Boolean (readonly)

[ GitHub ]

  
# File 'lib/rbs/unit_test/convertibles.rb', line 162

def exclude_end? = @exclude_end