elkinsware-erubis_rails_helper 0.9.1 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -211,6 +211,18 @@ module Erubis
|
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
214
|
+
class ActionView::Base # :nodoc:
|
215
|
+
include ::Erubis::Helpers::RailsHelper::TemplateConverter
|
216
|
+
include ::Erubis::PreprocessingHelper
|
217
|
+
|
218
|
+
private
|
219
|
+
# convert template into ruby code
|
220
|
+
def convert_template_into_ruby_code(template)
|
221
|
+
#ERB.new(template, nil, @@erb_trim_mode).src
|
222
|
+
return _convert_template(template)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
214
226
|
module ActionView
|
215
227
|
module TemplateHandlers
|
216
228
|
class Erubis < TemplateHandler
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elkinsware-erubis_rails_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Elkins
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-19 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|