Class: ActionView::Helpers::InstanceTag
- Inherits:
-
Object
- Object
- ActionView::Helpers::InstanceTag
show all
- Includes:
- JavaScriptHelper, Krjs, PrototypeHelper
- Defined in:
- lib/krjs.rb,
lib/krjs_with_debug_info.rb
Constant Summary
Constants included
from Krjs
Krjs::BOOLEAN_ATTRIBUTES
Instance Method Summary
collapse
Methods included from Krjs
included
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
153
154
155
156
157
158
159
|
# File 'lib/krjs.rb', line 153
def method_missing(method, *args)
if @template_object && @template_object.respond_to?(method)
@template_object.send method, *args
else
super
end
end
|
Instance Method Details
#template_object ⇒ Object
228
|
# File 'lib/krjs_with_debug_info.rb', line 228
def template_object; @template_object; end
|
#url_for(options) ⇒ Object
229
|
# File 'lib/krjs_with_debug_info.rb', line 229
def url_for(options); template_object.url_for(options); end
|