Class: Simnos::Converter
- Inherits:
-
Object
- Object
- Simnos::Converter
- Defined in:
- lib/simnos/converter.rb
Instance Method Summary collapse
- #convert {|output_topic(@topics_by_name, @region)| ... } ⇒ Object
-
#initialize(topics_by_name, region) ⇒ Converter
constructor
A new instance of Converter.
Constructor Details
#initialize(topics_by_name, region) ⇒ Converter
Returns a new instance of Converter.
5 6 7 8 |
# File 'lib/simnos/converter.rb', line 5 def initialize(topics_by_name, region) @topics_by_name = topics_by_name @region = region end |
Instance Method Details
#convert {|output_topic(@topics_by_name, @region)| ... } ⇒ Object
10 11 12 |
# File 'lib/simnos/converter.rb', line 10 def convert yield output_topic(@topics_by_name, @region) end |