123456789_123456789_123456789_123456789_123456789_

Exception: RBS::Test::SetupHelper::InvalidSampleSizeError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StandardError
Instance Chain:
self, StandardError
Inherits: StandardError
  • Object
Defined in: lib/rbs/test/setup_helper.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(string) ⇒ InvalidSampleSizeError

[ GitHub ]

  
# File 'lib/rbs/test/setup_helper.rb', line 7

def initialize(string)
  @string = string
  super("Sample size should be a positive integer: `#{string}`")
end

Instance Attribute Details

#string (readonly)

[ GitHub ]

  
# File 'lib/rbs/test/setup_helper.rb', line 5

attr_reader :string