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
- #begin readonly
- #end readonly
- #exclude_end? ⇒ Boolean readonly
Instance Method Summary
BlankSlate
- Inherited
Constructor Details
.new(begin_, end_, exclude_end = false) ⇒ CustomRange
# 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