Class: Burn::Util::Pxes
Instance Attribute Summary collapse
-
#sexp ⇒ Object
readonly
Returns the value of attribute sexp.
Instance Method Summary collapse
-
#initialize(sexp, context = nil, resource_name = nil) ⇒ Pxes
constructor
A new instance of Pxes.
- #to_c ⇒ Object
Methods included from Debug
Constructor Details
#initialize(sexp, context = nil, resource_name = nil) ⇒ Pxes
Returns a new instance of Pxes.
7 8 9 10 11 |
# File 'lib/burn/util/pxes.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/util/pxes.rb', line 5 def sexp @sexp end |
Instance Method Details
#to_c ⇒ Object
13 14 15 |
# File 'lib/burn/util/pxes.rb', line 13 def to_c parse_sexp(@sexp) end |