instance method
set!
Ruby on Rails 2.9.1
Since v2.4.1 Last seen in v2.14.1Signature
set!(name, object = BLANK, *args)
No documentation comment.
Parameters
-
namereq -
objectopt = BLANK -
argsrest
Source
# File lib/jbuilder/jbuilder_template.rb, line 94
def set!(name, object = BLANK, *args)
options = args.first
if args.one? && _partial_options?(options)
_set_inline_partial name, object, options
else
super
end
end
Defined in lib/jbuilder/jbuilder_template.rb line 94
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in JbuilderTemplate