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.
560 561 562 563 |
# File 'lib/fxmlloader/elts.rb', line 560 def initialize(str, rel) super(rel) @rel = str end |
Instance Method Details
#class ⇒ Object
570 571 572 |
# File 'lib/fxmlloader/elts.rb', line 570 def class() String end |
#inspect ⇒ Object
564 565 566 |
# File 'lib/fxmlloader/elts.rb', line 564 def inspect "java.net.URL.new(__local_namespace['location'], #{@rel.inspect}).to_s" end |
#super_inspect ⇒ Object
559 |
# File 'lib/fxmlloader/elts.rb', line 559 alias :super_inspect :inspect |
#to_s ⇒ Object
567 568 569 |
# File 'lib/fxmlloader/elts.rb', line 567 def to_s super end |