Class: BuildBox::Perform
- Inherits:
-
Object
- Object
- BuildBox::Perform
- Defined in:
- lib/build_box/perform.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#error ⇒ Object
Returns the value of attribute error.
-
#output ⇒ Object
Returns the value of attribute output.
-
#unbound_constants ⇒ Object
Returns the value of attribute unbound_constants.
-
#unbound_methods ⇒ Object
Returns the value of attribute unbound_methods.
Instance Method Summary collapse
-
#initialize(code, binding_context = TOPLEVEL_BINDING, security_level, timeout) ⇒ Perform
constructor
A new instance of Perform.
Constructor Details
#initialize(code, binding_context = TOPLEVEL_BINDING, security_level, timeout) ⇒ Perform
Returns a new instance of Perform.
5 6 7 8 9 10 11 12 13 |
# File 'lib/build_box/perform.rb', line 5 def initialize(code, binding_context=TOPLEVEL_BINDING, security_level, timeout) self.unbound_methods = [] self.unbound_constants = [] self.code = code @binding_context = binding_context @security_level = security_level @timeout = timeout evaluate end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/build_box/perform.rb', line 3 def code @code end |
#error ⇒ Object
Returns the value of attribute error.
3 4 5 |
# File 'lib/build_box/perform.rb', line 3 def error @error end |
#output ⇒ Object
Returns the value of attribute output.
3 4 5 |
# File 'lib/build_box/perform.rb', line 3 def output @output end |
#unbound_constants ⇒ Object
Returns the value of attribute unbound_constants.
3 4 5 |
# File 'lib/build_box/perform.rb', line 3 def unbound_constants @unbound_constants end |
#unbound_methods ⇒ Object
Returns the value of attribute unbound_methods.
3 4 5 |
# File 'lib/build_box/perform.rb', line 3 def unbound_methods @unbound_methods end |