Class: IRuby::Application::RegisterParams

Inherits:
Struct
  • Object
show all
Defined in:
lib/iruby/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ RegisterParams

Returns a new instance of RegisterParams.



131
132
133
134
135
136
# File 'lib/iruby/application.rb', line 131

def initialize(*args)
  super
  self.name ||= DEFAULT_KERNEL_NAME
  self.force = false
  self.user = true
end

Instance Attribute Details

#display_nameObject

Returns the value of attribute display_name

Returns:

  • (Object)

    the current value of display_name



120
121
122
# File 'lib/iruby/application.rb', line 120

def display_name
  @display_name
end

#envObject

Returns the value of attribute env

Returns:

  • (Object)

    the current value of env



120
121
122
# File 'lib/iruby/application.rb', line 120

def env
  @env
end

#forceObject

Returns the value of attribute force

Returns:

  • (Object)

    the current value of force



120
121
122
# File 'lib/iruby/application.rb', line 120

def force
  @force
end

#ipython_dirObject

Returns the value of attribute ipython_dir

Returns:

  • (Object)

    the current value of ipython_dir



120
121
122
# File 'lib/iruby/application.rb', line 120

def ipython_dir
  @ipython_dir
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



120
121
122
# File 'lib/iruby/application.rb', line 120

def name
  @name
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



120
121
122
# File 'lib/iruby/application.rb', line 120

def prefix
  @prefix
end

#profileObject

Returns the value of attribute profile

Returns:

  • (Object)

    the current value of profile



120
121
122
# File 'lib/iruby/application.rb', line 120

def profile
  @profile
end

#sys_prefixObject

Returns the value of attribute sys_prefix

Returns:

  • (Object)

    the current value of sys_prefix



120
121
122
# File 'lib/iruby/application.rb', line 120

def sys_prefix
  @sys_prefix
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



120
121
122
# File 'lib/iruby/application.rb', line 120

def user
  @user
end