Class: RelativeFXMLString
- Inherits:
-
String
- Object
- String
- RelativeFXMLString
- Defined in:
- lib/fxmlloader/elts.rb
Instance Method Summary collapse
- #class ⇒ Object
-
#initialize(str, rel) ⇒ RelativeFXMLString
constructor
A new instance of RelativeFXMLString.
- #inspect ⇒ Object
- #super_inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(str, rel) ⇒ RelativeFXMLString
Returns a new instance of RelativeFXMLString.
563 564 565 566 |
# File 'lib/fxmlloader/elts.rb', line 563 def initialize(str, rel) super(rel) @rel = str end |
Instance Method Details
#class ⇒ Object
573 574 575 |
# File 'lib/fxmlloader/elts.rb', line 573 def class() String end |
#inspect ⇒ Object
567 568 569 |
# File 'lib/fxmlloader/elts.rb', line 567 def inspect "java.net.URL.new(__local_namespace['location'], #{@rel.inspect}).to_s" end |
#super_inspect ⇒ Object
562 |
# File 'lib/fxmlloader/elts.rb', line 562 alias :super_inspect :inspect |
#to_s ⇒ Object
570 571 572 |
# File 'lib/fxmlloader/elts.rb', line 570 def to_s super end |