From 7407d35c5417b6ef872663936a5880ede8ab711c Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Fri, 9 Dec 2016 03:08:17 +0900 Subject: Enable `block` variable in view Remove `block` keyword from reserved method names --- actionview/test/fixtures/test/test_template_with_block_variable.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionview/test/fixtures/test/test_template_with_block_variable.erb (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/test/test_template_with_block_variable.erb b/actionview/test/fixtures/test/test_template_with_block_variable.erb new file mode 100644 index 0000000000..2ee6a2bbdc --- /dev/null +++ b/actionview/test/fixtures/test/test_template_with_block_variable.erb @@ -0,0 +1 @@ +<%= block %> \ No newline at end of file -- cgit v1.2.3 From d9ff835b99ff3c7567ccde9b1379b4deeabee32f Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Fri, 9 Dec 2016 04:55:21 +0900 Subject: split DELEGATION_RESERVED_METHOD_NAMES in half --- actionview/test/fixtures/test/test_template_with_block_variable.erb | 1 - .../fixtures/test/test_template_with_delegation_reserved_keywords.erb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 actionview/test/fixtures/test/test_template_with_block_variable.erb create mode 100644 actionview/test/fixtures/test/test_template_with_delegation_reserved_keywords.erb (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/test/test_template_with_block_variable.erb b/actionview/test/fixtures/test/test_template_with_block_variable.erb deleted file mode 100644 index 2ee6a2bbdc..0000000000 --- a/actionview/test/fixtures/test/test_template_with_block_variable.erb +++ /dev/null @@ -1 +0,0 @@ -<%= block %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/test_template_with_delegation_reserved_keywords.erb b/actionview/test/fixtures/test/test_template_with_delegation_reserved_keywords.erb new file mode 100644 index 0000000000..edfe52e422 --- /dev/null +++ b/actionview/test/fixtures/test/test_template_with_delegation_reserved_keywords.erb @@ -0,0 +1 @@ +<%= _ %> <%= arg %> <%= args %> <%= block %> \ No newline at end of file -- cgit v1.2.3