Class: Cfdef::DSL::Converter
- Inherits:
-
Object
- Object
- Cfdef::DSL::Converter
- Includes:
- Utils::Helper
- Defined in:
- lib/cfdef/dsl/converter.rb
Class Method Summary collapse
Instance Method Summary collapse
- #convert ⇒ Object
-
#initialize(exported, options = {}) ⇒ Converter
constructor
A new instance of Converter.
Methods included from Utils::Helper
Constructor Details
#initialize(exported, options = {}) ⇒ Converter
Returns a new instance of Converter.
8 9 10 11 |
# File 'lib/cfdef/dsl/converter.rb', line 8 def initialize(exported, = {}) @exported = exported @options = end |
Class Method Details
.convert(exported, options = {}) ⇒ Object
4 5 6 |
# File 'lib/cfdef/dsl/converter.rb', line 4 def self.convert(exported, = {}) self.new(exported, ).convert end |
Instance Method Details
#convert ⇒ Object
13 14 15 16 17 18 |
# File 'lib/cfdef/dsl/converter.rb', line 13 def convert output_distributions(@exported.fetch(:distributions)) # TODO: #output_streaming_distributions(@exported.fetch(:streaming_distributions)) end |