class Zoom::SecurityProfile::UnsafeRuby
Public Class Methods
new(n = nil, t = nil, f = nil, b = nil, a = nil)
click to toggle source
Calls superclass method
Zoom::SecurityProfile::new
# File lib/zoom/profile/unsafe_ruby.rb, line 2 def initialize(n = nil, t = nil, f = nil, b = nil, a = nil) t = Zoom::ProfileManager.default_tool super(n, t, f, b, a) @exts = [ "erb", "gemspec", "irbrc", "rake", "rb", "rhtml", "rjs", "rxml", "spec" ] @files = ["Gemfile", "Rakefile"] @regex = [ "%x\\(", "|", "\\.constantize", "|", "(^|[^\\nA-Za-z_])", "(", [ "instance_eval", "(public_)?send", "system", ].join("|"), ")" ].join end