Class: IRuby::Application::RegisterParams
- Inherits:
-
Struct
- Object
- Struct
- IRuby::Application::RegisterParams
- Defined in:
- lib/iruby/application.rb
Instance Attribute Summary collapse
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#env ⇒ Object
Returns the value of attribute env.
-
#force ⇒ Object
Returns the value of attribute force.
-
#ipython_dir ⇒ Object
Returns the value of attribute ipython_dir.
-
#name ⇒ Object
Returns the value of attribute name.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#sys_prefix ⇒ Object
Returns the value of attribute sys_prefix.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(*args) ⇒ RegisterParams
constructor
A new instance of RegisterParams.
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_name ⇒ Object
Returns the value of attribute display_name
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def display_name @display_name end |
#env ⇒ Object
Returns the value of attribute env
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def env @env end |
#force ⇒ Object
Returns the value of attribute force
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def force @force end |
#ipython_dir ⇒ Object
Returns the value of attribute ipython_dir
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def ipython_dir @ipython_dir end |
#name ⇒ Object
Returns the value of attribute name
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def name @name end |
#prefix ⇒ Object
Returns the value of attribute prefix
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def prefix @prefix end |
#profile ⇒ Object
Returns the value of attribute profile
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def profile @profile end |
#sys_prefix ⇒ Object
Returns the value of attribute sys_prefix
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def sys_prefix @sys_prefix end |
#user ⇒ Object
Returns the value of attribute user
120 121 122 |
# File 'lib/iruby/application.rb', line 120 def user @user end |