Class: Sexpir::Connect
- Defined in:
- lib/sexpir/ast.rb,
lib/sexpir/ast_sexp.rb
Instance Attribute Summary collapse
-
#sink ⇒ Object
Returns the value of attribute sink.
-
#source ⇒ Object
Returns the value of attribute source.
Attributes inherited from Ast
Instance Method Summary collapse
Methods inherited from Ast
Instance Attribute Details
#sink ⇒ Object
Returns the value of attribute sink.
92 93 94 |
# File 'lib/sexpir/ast.rb', line 92 def sink @sink end |
#source ⇒ Object
Returns the value of attribute source.
92 93 94 |
# File 'lib/sexpir/ast.rb', line 92 def source @source end |
Instance Method Details
#sexp ⇒ Object
179 180 181 |
# File 'lib/sexpir/ast_sexp.rb', line 179 def sexp "(connect #{source.sexp} #{sink.sexp})" end |