Class: ViewModelDomain::XsdArguments

Inherits:
Object
  • Object
show all
Defined in:
lib/view_model_domain/xsd_arguments.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(simple_type:, assessment_type:, xsd_dir_path: "", gem_path: "", node_hash: nil) ⇒ XsdArguments

Returns a new instance of XsdArguments.



5
6
7
8
9
10
11
# File 'lib/view_model_domain/xsd_arguments.rb', line 5

def initialize(simple_type:, assessment_type:, xsd_dir_path: "", gem_path: "", node_hash: nil)
  @simple_type = simple_type
  @assessment_type = assessment_type
  @xsd_dir_path = xsd_dir_path
  @gem_path = gem_path
  @node_hash = node_hash
end

Instance Attribute Details

#assessment_typeObject (readonly)

Returns the value of attribute assessment_type.



3
4
5
# File 'lib/view_model_domain/xsd_arguments.rb', line 3

def assessment_type
  @assessment_type
end

#gem_pathObject (readonly)

Returns the value of attribute gem_path.



3
4
5
# File 'lib/view_model_domain/xsd_arguments.rb', line 3

def gem_path
  @gem_path
end

#node_hashObject (readonly)

Returns the value of attribute node_hash.



3
4
5
# File 'lib/view_model_domain/xsd_arguments.rb', line 3

def node_hash
  @node_hash
end

#simple_typeObject (readonly)

Returns the value of attribute simple_type.



3
4
5
# File 'lib/view_model_domain/xsd_arguments.rb', line 3

def simple_type
  @simple_type
end

#xsd_dir_pathObject (readonly)

Returns the value of attribute xsd_dir_path.



3
4
5
# File 'lib/view_model_domain/xsd_arguments.rb', line 3

def xsd_dir_path
  @xsd_dir_path
end