ruby-changes:60910
From: Nobuyoshi <ko1@a...>
Date: Sun, 26 Apr 2020 12:53:42 +0900 (JST)
Subject: [ruby-changes:60910] d0f41aa238 (master): [ruby/spec] Removed space between method name and argument list paren
https://git.ruby-lang.org/ruby.git/commit/?id=d0f41aa238 From d0f41aa2382612022162d033ddb3d9c9cc62099e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 26 Apr 2020 12:26:42 +0900 Subject: [ruby/spec] Removed space between method name and argument list paren diff --git a/spec/ruby/library/bigdecimal/comparison_spec.rb b/spec/ruby/library/bigdecimal/comparison_spec.rb index a1e09b6..c53187b 100644 --- a/spec/ruby/library/bigdecimal/comparison_spec.rb +++ b/spec/ruby/library/bigdecimal/comparison_spec.rb @@ -18,7 +18,7 @@ describe "BigDecimal#<=>" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/bigdecimal/comparison_spec.rb#L18 def coerce(other) return [other, BigDecimal('123')] end - def >= (other) + def >=(other) BigDecimal('123') >= other end end diff --git a/spec/ruby/library/bigdecimal/gt_spec.rb b/spec/ruby/library/bigdecimal/gt_spec.rb index 4717cfd..78547fb 100644 --- a/spec/ruby/library/bigdecimal/gt_spec.rb +++ b/spec/ruby/library/bigdecimal/gt_spec.rb @@ -17,7 +17,7 @@ describe "BigDecimal#>" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/bigdecimal/gt_spec.rb#L17 def coerce(other) return [other, BigDecimal('123')] end - def > (other) + def >(other) BigDecimal('123') > other end end diff --git a/spec/ruby/library/bigdecimal/gte_spec.rb b/spec/ruby/library/bigdecimal/gte_spec.rb index 8dc8170..2a5cc02 100644 --- a/spec/ruby/library/bigdecimal/gte_spec.rb +++ b/spec/ruby/library/bigdecimal/gte_spec.rb @@ -17,7 +17,7 @@ describe "BigDecimal#>=" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/bigdecimal/gte_spec.rb#L17 def coerce(other) return [other, BigDecimal('123')] end - def >= (other) + def >=(other) BigDecimal('123') >= other end end diff --git a/spec/ruby/library/bigdecimal/lt_spec.rb b/spec/ruby/library/bigdecimal/lt_spec.rb index 61f4f19..02390e7 100644 --- a/spec/ruby/library/bigdecimal/lt_spec.rb +++ b/spec/ruby/library/bigdecimal/lt_spec.rb @@ -17,7 +17,7 @@ describe "BigDecimal#<" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/bigdecimal/lt_spec.rb#L17 def coerce(other) return [other, BigDecimal('123')] end - def < (other) + def <(other) BigDecimal('123') < other end end diff --git a/spec/ruby/library/bigdecimal/lte_spec.rb b/spec/ruby/library/bigdecimal/lte_spec.rb index fc63231..b92be04 100644 --- a/spec/ruby/library/bigdecimal/lte_spec.rb +++ b/spec/ruby/library/bigdecimal/lte_spec.rb @@ -17,7 +17,7 @@ describe "BigDecimal#<=" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/bigdecimal/lte_spec.rb#L17 def coerce(other) return [other, BigDecimal('123')] end - def <= (other) + def <=(other) BigDecimal('123') <= other end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/