Method: Pry::Command::Ls::Methods#initialize
- Defined in:
- lib/pry/commands/ls/methods.rb
#initialize(interrogatee, no_user_opts, opts, pry_instance) ⇒ Methods
Returns a new instance of Methods.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/pry/commands/ls/methods.rb', line 10 def initialize(interrogatee, no_user_opts, opts, pry_instance) super(pry_instance) @interrogatee = interrogatee @no_user_opts = no_user_opts @default_switch = opts[:methods] @instance_methods_switch = opts['instance-methods'] @ppp_switch = opts[:ppp] @jruby_switch = opts['all-java'] @quiet_switch = opts[:quiet] @verbose_switch = opts[:verbose] end |