Sha256: 315dc53c7ed793c5560c25d8d5675b400e088d5b4ab3e4f1ecaefdd8d7b93365

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

CONDITIONAL_SPACING = {}

CONDITIONAL_SPACING['no_space_after_if'] =
  %q{if(foo)
end}

CONDITIONAL_SPACING['space_after_if'] =
  %q{if (foo)
end}

CONDITIONAL_SPACING['no_parens'] =
  %q{if foo
end}

CONDITIONAL_SPACING['nested_parens'] =
  %q{if(foo(bar))
end}

CONDITIONAL_SPACING['no_space_after_unless'] =
  %q{unless(foo)
end}

CONDITIONAL_SPACING['space_after_unless'] =
  %q{unless (foo)
end}

CONDITIONAL_SPACING['no_space_after_case'] =
  %q{puts case(true)
when true then 'a'
when false then 'b'
end}

CONDITIONAL_SPACING['space_after_case'] =
  %q{puts case (true)
when true then 'a'
when false then 'b'
end}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tailor-1.4.1 spec/support/conditional_spacing_cases.rb
tailor-1.4.0 spec/support/conditional_spacing_cases.rb
tailor-1.3.1 spec/support/conditional_spacing_cases.rb
tailor-1.3.0 spec/support/conditional_spacing_cases.rb