Class: Cure::Dsl::SourceFiles::SourceFile
- Inherits:
-
Object
- Object
- Cure::Dsl::SourceFiles::SourceFile
- Defined in:
- lib/cure/dsl/source_files.rb
Instance Attribute Summary collapse
-
#ref_name ⇒ Object
Returns the value of attribute ref_name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(type, value, ref_name) ⇒ SourceFile
constructor
A new instance of SourceFile.
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_name ⇒ Object
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 |
#type ⇒ Object
Returns the value of attribute type.
26 27 28 |
# File 'lib/cure/dsl/source_files.rb', line 26 def type @type end |
#value ⇒ Object
Returns the value of attribute value.
26 27 28 |
# File 'lib/cure/dsl/source_files.rb', line 26 def value @value end |