Sha256: 750a4e2d62b4251ead8fbf365eab37d557e0584ac51ffb2e4f4f5bef5ae43a02

Contents?: true

Size: 339 Bytes

Versions: 7

Compression:

Stored size: 339 Bytes

Contents

class SomeClass
  def method_with_keyword_arguments(foo: '123')
    puts foo
  end

  def make_symbol_list
    %i(foo bar baz)
  end

  def make_other_symbol_list
    %I(foo bar baz)
  end

  def method_with_required_keyword_arguments(foo:)
    puts foo
  end

  def method_with_array_decomposition((a, b))
    puts "#{a}, #{b}"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
reek-3.1 spec/samples/unusual_syntax.rb
reek-3.0.4 spec/samples/unusual_syntax.rb
reek-3.0.3 spec/samples/unusual_syntax.rb
reek-3.0.2 spec/samples/unusual_syntax.rb
reek-3.0.1 spec/samples/unusual_syntax.rb
reek-3.0.0 spec/samples/unusual_syntax.rb
reek-2.2.1 spec/samples/unusual_syntax.rb