Class: JavaClass::ClassFile::Attributes::SourceFile
- Defined in:
- lib/javaclass/classfile/attributes/attributes.rb
Instance Attribute Summary collapse
-
#source_file ⇒ Object
readonly
Returns the value of attribute source_file.
Attributes inherited from Attribute
Instance Method Summary collapse
-
#initialize(name, source_file) ⇒ SourceFile
constructor
A new instance of SourceFile.
Constructor Details
#initialize(name, source_file) ⇒ SourceFile
Returns a new instance of SourceFile.
107 108 109 110 |
# File 'lib/javaclass/classfile/attributes/attributes.rb', line 107 def initialize(name, source_file) super(name) @source_file = source_file end |
Instance Attribute Details
#source_file ⇒ Object (readonly)
Returns the value of attribute source_file.
105 106 107 |
# File 'lib/javaclass/classfile/attributes/attributes.rb', line 105 def source_file @source_file end |