Class: Burn::Pxes::TranspilerBase
- Inherits:
-
Object
- Object
- Burn::Pxes::TranspilerBase
- Includes:
- Debug
- Defined in:
- lib/burn/pxes/transpiler_base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#sexp ⇒ Object
readonly
Returns the value of attribute sexp.
Instance Method Summary collapse
-
#initialize(sexp, context = nil, resource_name = nil) ⇒ TranspilerBase
constructor
A new instance of TranspilerBase.
Methods included from Debug
Constructor Details
#initialize(sexp, context = nil, resource_name = nil) ⇒ TranspilerBase
Returns a new instance of TranspilerBase.
7 8 9 10 11 |
# File 'lib/burn/pxes/transpiler_base.rb', line 7 def initialize(sexp, context=nil, resource_name=nil) @sexp = sexp @context = context || self @resource_name = resource_name end |
Instance Attribute Details
#sexp ⇒ Object (readonly)
Returns the value of attribute sexp.
5 6 7 |
# File 'lib/burn/pxes/transpiler_base.rb', line 5 def sexp @sexp end |