Sha256: b5111e7be89df827486ecf9c76bdbf77e48950dabd990d581a508ec11a992f6d
Contents?: true
Size: 480 Bytes
Versions: 5
Compression:
Stored size: 480 Bytes
Contents
module Here class There def why?(argument = nil) @array = [ 1, 2, 3 ] hash = { one:1, two:2, three:3 } end # a comment def why_not?(argument: {}) @array = [4,5,6] hash = {four:4, five:5, six:6} s = "a #{"complex"} string." end def complex_method(one, two, three, four) regex = /regex/ end def with_block run = Proc.new { |argument| puts arugment } run do |arugment| puts argument end end end end
Version data entries
5 entries across 5 versions & 1 rubygems