Sha256: 39425e1cfe0c9ca61e310e8f0125b53ab8c24570393e9f3b100d7c536a11eeda

Contents?: true

Size: 273 Bytes

Versions: 11

Compression:

Stored size: 273 Bytes

Contents

module Tdc
  module YamlReaders
    #
    # YAML source is a YAML file.
    #
    class YamlReader < Tdc::YamlReaders::YamlReaderBase
      def file_extension
        ".yml"
      end

      def source_string
        File.read(definitions_file)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tdc-1.1 lib/tdc/yaml_readers/yaml_reader.rb
tdc-1.0 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.6.2 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.6.1 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.6.0 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.5.0 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.4.7 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.4.6.1 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.4.6 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.4.4.1 lib/tdc/yaml_readers/yaml_reader.rb
tdc-0.4.4 lib/tdc/yaml_readers/yaml_reader.rb