lib/jason/rails_template_handler.rb in jason-0.1.0 vs lib/jason/rails_template_handler.rb in jason-0.2.0
- old
+ new
@@ -8,10 +8,10 @@
class_attribute :default_format
self.default_format = Mime::JSON
# Compile the Rails template.
#
- # @param template [Class] the Rails template class
+ # @param [Class] template the Rails template class
# @return [String] the compiled template
def call(template)
Jason.compile(template.source)
end
end
\ No newline at end of file