Class: SFRP::Low::DSL::FuncProxy
- Inherits:
-
Object
- Object
- SFRP::Low::DSL::FuncProxy
- Defined in:
- lib/sfrp/low/dsl.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#stmts ⇒ Object
readonly
Returns the value of attribute stmts.
Instance Method Summary collapse
- #<<(stmt) ⇒ Object
- #append_param(type_str, var_str) ⇒ Object
-
#initialize ⇒ FuncProxy
constructor
A new instance of FuncProxy.
Constructor Details
#initialize ⇒ FuncProxy
Returns a new instance of FuncProxy.
48 49 50 51 |
# File 'lib/sfrp/low/dsl.rb', line 48 def initialize @params = [] @stmts = [] end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
46 47 48 |
# File 'lib/sfrp/low/dsl.rb', line 46 def params @params end |
#stmts ⇒ Object (readonly)
Returns the value of attribute stmts.
46 47 48 |
# File 'lib/sfrp/low/dsl.rb', line 46 def stmts @stmts end |
Instance Method Details
#<<(stmt) ⇒ Object
57 58 59 |
# File 'lib/sfrp/low/dsl.rb', line 57 def <<(stmt) @stmts << stmt end |