Class: Peruby::Code
- Inherits:
-
Data
- Object
- Data
- Peruby::Code
- Defined in:
- lib/peruby/runtime/code.rb
Overview
Compiled Perl subroutine and its captured lexical environment.
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#package ⇒ Object
readonly
Returns the value of attribute package.
-
#prototype ⇒ Object
readonly
Returns the value of attribute prototype.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
5 6 7 |
# File 'lib/peruby/runtime/code.rb', line 5 def body @body end |
#environment ⇒ Object (readonly)
Returns the value of attribute environment
5 6 7 |
# File 'lib/peruby/runtime/code.rb', line 5 def environment @environment end |
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/peruby/runtime/code.rb', line 5 def name @name end |
#package ⇒ Object (readonly)
Returns the value of attribute package
5 6 7 |
# File 'lib/peruby/runtime/code.rb', line 5 def package @package end |
#prototype ⇒ Object (readonly)
Returns the value of attribute prototype
5 6 7 |
# File 'lib/peruby/runtime/code.rb', line 5 def prototype @prototype end |