aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/template/text.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/lib/action_view/template/text.rb')
-rw-r--r--actionview/lib/action_view/template/text.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/actionview/lib/action_view/template/text.rb b/actionview/lib/action_view/template/text.rb
index 04f5b8d17a..e8d4e18f04 100644
--- a/actionview/lib/action_view/template/text.rb
+++ b/actionview/lib/action_view/template/text.rb
@@ -11,12 +11,10 @@ module ActionView #:nodoc:
end
def identifier
- 'text template'
+ "text template"
end
- def inspect
- 'text template'
- end
+ alias_method :inspect, :identifier
def to_str
@string