Class: Hijack::Console
- Inherits:
-
Object
- Object
- Hijack::Console
- Defined in:
- lib/ripl/hijack.rb
Class Attribute Summary collapse
-
.remote ⇒ Object
Returns the value of attribute remote.
Instance Method Summary collapse
-
#start_irb ⇒ Object
Disable irb and make @remote accessible.
Class Attribute Details
.remote ⇒ Object
Returns the value of attribute remote.
5 6 7 |
# File 'lib/ripl/hijack.rb', line 5 def remote @remote end |
Instance Method Details
#start_irb ⇒ Object
Disable irb and make @remote accessible
8 9 10 |
# File 'lib/ripl/hijack.rb', line 8 def start_irb self.class.remote = @remote end |