Warning, /frameworks/ktexteditor/autotests/input/indent/ruby/endless02/expected is written in an unsupported language. File is not indexed.

0001 # endless02
0002 
0003 class Base
0004   extend Dry::Initializer
0005 
0006   def self.call(...) = new(...).call
0007 
0008   def call = raise NotImplementedError
0009 
0010   def call() = :endless
0011 
0012   def compact? =true
0013 
0014   def expand   (  ts = Time.now )    = ts.year * (rand * 1000)
0015 
0016   def foo(bar = "baz")
0017     bar.upcase
0018   end
0019 
0020   def foo_blank bar = "baz"
0021     bar.upcase
0022   end
0023 
0024   def foo_endless(bar = "baz") = bar.upcase
0025 
0026   def width=(other)
0027     @width = other
0028   end
0029 
0030   def height= other
0031     @height = other
0032   end
0033 
0034 end