diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-05 12:05:50 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-05 12:05:50 -0500 |
commit | 1dcc59121b9f0c332f6fe93f90fb028ff3448899 (patch) | |
tree | c3aa61b0bca510ee2c430ed8d329ed399d945a48 /actionpack/lib/action_view | |
parent | 271f5b655fb58b08a89a144aa835f7b70617c399 (diff) | |
download | rails-1dcc59121b9f0c332f6fe93f90fb028ff3448899.tar.gz rails-1dcc59121b9f0c332f6fe93f90fb028ff3448899.tar.bz2 rails-1dcc59121b9f0c332f6fe93f90fb028ff3448899.zip |
Renamed Renderer to Renderable
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/inline_template.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/renderable.rb (renamed from actionpack/lib/action_view/renderer.rb) | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/template.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/inline_template.rb b/actionpack/lib/action_view/inline_template.rb index 1ccb23a3fc..49147901a1 100644 --- a/actionpack/lib/action_view/inline_template.rb +++ b/actionpack/lib/action_view/inline_template.rb @@ -1,6 +1,6 @@ module ActionView #:nodoc: class InlineTemplate #:nodoc: - include Renderer + include Renderable def initialize(view, source, locals = {}, type = nil) @view = view diff --git a/actionpack/lib/action_view/renderer.rb b/actionpack/lib/action_view/renderable.rb index e6c64d2749..61bd8140fb 100644 --- a/actionpack/lib/action_view/renderer.rb +++ b/actionpack/lib/action_view/renderable.rb @@ -1,5 +1,5 @@ module ActionView - module Renderer + module Renderable # TODO: Local assigns should not be tied to template instance attr_accessor :locals diff --git a/actionpack/lib/action_view/template.rb b/actionpack/lib/action_view/template.rb index dbc8ccdee8..f696ea366d 100644 --- a/actionpack/lib/action_view/template.rb +++ b/actionpack/lib/action_view/template.rb @@ -1,7 +1,7 @@ module ActionView #:nodoc: class Template #:nodoc: extend TemplateHandlers - include Renderer + include Renderable attr_reader :path, :extension |