提交 0119740d 编写于 作者: V Vijay Dev

fixes in api docs

上级 8e064269
#FIXME Remove if ArJdbcMysql will give.
module ArJdbcMySQL
module ArJdbcMySQL #:nodoc:
class Error < StandardError
attr_accessor :error_number, :sql_state
......
......@@ -14,7 +14,7 @@ def with_indifferent_access
# #with_indifferent_access. This method will be called on the current object
# by the enclosing object and is aliased to #with_indifferent_access by
# default. Subclasses of Hash may overwrite this method to return +self+ if
# converting to an +ActiveSupport::HashWithIndifferentAccess+ would not be
# converting to an <tt>ActiveSupport::HashWithIndifferentAccess</tt> would not be
# desirable.
#
# b = {:b => 1}
......
......@@ -148,8 +148,8 @@ def as_json(options = nil) #:nodoc:
end
end
class Struct
def as_json(options = nil) #:nodoc:
class Struct #:nodoc:
def as_json(options = nil)
Hash[members.zip(values)]
end
end
......
......@@ -21,7 +21,7 @@ def options
options
end
class BenchmarkerTest < ActionDispatch::PerformanceTest
class BenchmarkerTest < ActionDispatch::PerformanceTest #:nodoc:
self.profile_options = options
ARGV.each do |expression|
......
......@@ -19,7 +19,7 @@ def options
options
end
class ProfilerTest < ActionDispatch::PerformanceTest
class ProfilerTest < ActionDispatch::PerformanceTest #:nodoc:
self.profile_options = options
ARGV.each do |expression|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册