Class: GoonModelGen::Converter::ConvFile

Inherits:
Object
  • Object
show all
Defined in:
lib/goon_model_gen/converter/conv_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, converter_package_path) ⇒ ConvFile

Returns a new instance of ConvFile.



10
11
12
13
# File 'lib/goon_model_gen/converter/conv_file.rb', line 10

def initialize(path, converter_package_path)
  @path = path
  @converter_package_path = converter_package_path
end

Instance Attribute Details

#converter_package_pathObject (readonly)

String



7
8
9
# File 'lib/goon_model_gen/converter/conv_file.rb', line 7

def converter_package_path
  @converter_package_path
end

#pathObject (readonly)

Returns the value of attribute path.



6
7
8
# File 'lib/goon_model_gen/converter/conv_file.rb', line 6

def path
  @path
end

#payload_convsObject

XxxxConv


8
9
10
# File 'lib/goon_model_gen/converter/conv_file.rb', line 8

def payload_convs
  @payload_convs
end

#result_convsObject

XxxxConv


8
9
10
# File 'lib/goon_model_gen/converter/conv_file.rb', line 8

def result_convs
  @result_convs
end

Instance Method Details

#basenameObject



15
16
17
# File 'lib/goon_model_gen/converter/conv_file.rb', line 15

def basename
  ::File.basename(path, '.*')
end