lib/transcriber/resource.rb in transcriber-0.0.5 vs lib/transcriber/resource.rb in transcriber-0.0.6
- old
+ new
@@ -41,9 +41,9 @@
return unless not_allowed_names.include?(method_name.to_s)
puts "warning: redefining '#{method_name}' may cause serious problems"
end
def self.not_allowed_names
- ["resource_id", "resource", "link"]
+ %w(resource_id resource link)
end
end
end