Sha256: b39a330c720d0296a4facd67d4f4c4045febcb036e5b7ffee3a78a9fc5dab3ac

Contents?: true

Size: 305 Bytes

Versions: 15

Compression:

Stored size: 305 Bytes

Contents

# coding: utf-8
require 'goa_model_gen'
require 'goa_model_gen/type'

module GoaModelGen
  class SourceFile
    attr_reader :yaml_path, :types
    def initialize(yaml_path, types)
      @yaml_path, @types = yaml_path, types
    end

    def basename
      File.basename(yaml_path, ".*")
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
goa_model_gen-0.9.7 lib/goa_model_gen/source_file.rb
goa_model_gen-0.9.6 lib/goa_model_gen/source_file.rb
goa_model_gen-0.9.5 lib/goa_model_gen/source_file.rb
goa_model_gen-0.9.4 lib/goa_model_gen/source_file.rb
goa_model_gen-0.9.3 lib/goa_model_gen/source_file.rb
goa_model_gen-0.9.2 lib/goa_model_gen/source_file.rb
goa_model_gen-0.9.1 lib/goa_model_gen/source_file.rb
goa_model_gen-0.9.0 lib/goa_model_gen/source_file.rb
goa_model_gen-0.8.4 lib/goa_model_gen/source_file.rb
goa_model_gen-0.8.3 lib/goa_model_gen/source_file.rb
goa_model_gen-0.8.2 lib/goa_model_gen/source_file.rb
goa_model_gen-0.8.1 lib/goa_model_gen/source_file.rb
goa_model_gen-0.8.0 lib/goa_model_gen/source_file.rb
goa_model_gen-0.7.1 lib/goa_model_gen/source_file.rb
goa_model_gen-0.7.0 lib/goa_model_gen/source_file.rb