We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20d1b98 + 5535a1e commit a0c1f95Copy full SHA for a0c1f95
lib/active_resource/schema.rb
@@ -47,6 +47,7 @@ def attribute(name, type, options = {})
47
# attr_names.each { |name| attribute(name, 'string', options) }
48
# end
49
class_eval <<-EOV, __FILE__, __LINE__ + 1
50
+ # frozen_string_literal: true
51
def #{attr_type}(*args)
52
options = args.extract_options!
53
attr_names = args
0 commit comments