Class: Cure::Dsl::SourceFiles::SourceFile

Inherits:
Object
  • Object
show all
Defined in:
lib/cure/dsl/source_files.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, value, ref_name) ⇒ SourceFile

Returns a new instance of SourceFile.



28
29
30
31
32
# File 'lib/cure/dsl/source_files.rb', line 28

def initialize(type, value, ref_name)
  @type = type
  @value = value
  @ref_name = ref_name
end

Instance Attribute Details

#ref_nameObject

Returns the value of attribute ref_name.



26
27
28
# File 'lib/cure/dsl/source_files.rb', line 26

def ref_name
  @ref_name
end

#typeObject

Returns the value of attribute type.



26
27
28
# File 'lib/cure/dsl/source_files.rb', line 26

def type
  @type
end

#valueObject

Returns the value of attribute value.



26
27
28
# File 'lib/cure/dsl/source_files.rb', line 26

def value
  @value
end