Class: Amrita2::Filters::ChangeStream
- Defined in:
- lib/amrita2/template.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name) ⇒ ChangeStream
constructor
A new instance of ChangeStream.
- #method_body_code(de, cg) ⇒ Object
Methods inherited from Base
filter_method, inherited, #parse_filter_a, #|
Constructor Details
#initialize(name) ⇒ ChangeStream
Returns a new instance of ChangeStream.
2531 2532 2533 |
# File 'lib/amrita2/template.rb', line 2531 def initialize(name) @name = name end |
Instance Method Details
#method_body_code(de, cg) ⇒ Object
2535 2536 2537 2538 2539 2540 |
# File 'lib/amrita2/template.rb', line 2535 def method_body_code(de, cg) cg.code("#ChangeStream") cg.with_stream(@name) do super end end |